Methods · Ranking
COBRA (COmprehensive distance Based RAnking)
COBRA ranks alternatives by combining their distance to four separate reference points (best, worst, above-average and below-average), rather than looking at a single ideal point from four different angles.
Base method's data type: Classical
What Is the Method?
COBRA is a ranking method that orders alternatives into a single sequence once you hold a decision table filled with numbers. Its output is a comprehensive distance score for every alternative, together with the rank that score produces; the lowest score marks the best alternative. Krstić, Agnusdei, Tadić, Miglietta and Roso proposed it in 2022 to assess how applicable Industry 4.0 technologies are in reverse logistics. The method does not sort alternatives into "acceptable / unacceptable" groups and does not generate criterion weights; weights are supplied from outside.
The Philosophy Behind It
COBRA's underlying idea is to judge an alternative against four reference points rather than a single one. Classical methods generally look at an ideal (best) and an anti-ideal (worst) point. COBRA adds two further references: the part of the alternative set that sits above the average, and the part that sits below it. An alternative is rewarded not only for being close to the ideal but also for sitting above the average; sitting below the average is separately penalised.
This idea has a consequence: COBRA is compensatory, but unlike TOPSIS it computes distance using both the straight-line (Euclidean) and the city-block (Manhattan) measure together. Even when two alternatives share the same straight-line distance, the way the differences across criteria are distributed, concentrated in one criterion or spread evenly, changes the result. This rests on the view that it is not only the average distance that matters, but how that distance is distributed.
How It Works
The method proceeds through six steps.
First and second step, scale equalisation. Each criterion column is divided by its own largest value, in the same way regardless of direction. Each column is then multiplied by the criterion's weight. This brings a large-valued criterion (such as price) and a small-valued one (such as a 1–9 score) onto a comparable scale.
Third step, four reference points. In the weighted table, the best value on each criterion (largest for a benefit, smallest for a cost) builds the ideal point, and the worst value builds the anti-ideal point. Each criterion's average is also calculated; this average forms the basis for the "above-average" and "below-average" references.
Fourth step, combined distance. COBRA measures each alternative's distance to the four reference points using a combination of straight-line and city-block distance. This combination accounts not only for the total difference but also for how unevenly the differences are spread across criteria.
Fifth step, above-average and below-average distances. The criteria on which an alternative sits above the average and those on which it sits below are treated separately; only the criteria in the relevant direction enter this calculation.
Sixth step, the comprehensive score. The sum of the distance to the ideal and the above-average distance has the sum of the distance to the anti-ideal and the below-average distance subtracted from it. Alternatives are ranked by this score from lowest to highest; the lowest score marks the best alternative.
The formulas behind each step are given on the DecisionMind method page; this card carries no formulas.
How to Read the Output
The comprehensive distance score summarises an alternative's position, relative to the four reference points, within this particular alternative set, and nothing more. The score can be negative or positive and does not sit within a fixed range such as 0–1; it cannot be set against a score from a different analysis, because the reference points are built afresh, in every analysis, from that analysis's own alternatives. The lowest score marks the best alternative; this is the reverse of TOPSIS's rule that the highest score is best, and it must not be confused when reporting.
A small score gap between two alternatives signals not a robust ranking but one sensitive to the weights. The report should therefore show which criterion's weight the ranking is sensitive to. For this reason:
"COBRA found the best alternative"
should be written as:
"With these weights and this alternative set, the lowest comprehensive distance falls on this alternative; the ranking is sensitive to the weight on this criterion"
Data Type and Inputs
COBRA works with crisp data: one number per cell. DecisionMind currently holds no extension of this method for another data type; if your data is fuzzy, interval-based or drawn from expert opinion, another family member should be sought.
You need alternatives in rows, criteria in columns, one number per cell and no empty cells; for every criterion, whether more is better or less is better, and weights that sum to 1. COBRA does not produce weights, it asks for them. A minimum of two alternatives and two criteria is required; three to twelve criteria work comfortably.
When to Use It, When Not To
COBRA is a suitable choice if your criteria can be measured numerically, your table has no gaps, and you accept that a weakness on one criterion may be offset by strength on another. The method was proposed specifically for sustainability and circular-economy assessments, but its logic does not depend on the field and it can also be used in general ranking problems such as supplier selection.
If you will not compromise on one criterion, COBRA is not suitable; sub-threshold alternatives should first be screened out and only the remainder ranked. Where criteria are strongly linked to one another, that link needs handling first.
A numerical table, compensation accepted, evaluation against four references → COBRA
Evaluation against the ideal and anti-ideal alone is sufficient → TOPSIS
No compromise on one criterion, sub-threshold alternatives must be screened out → screening first, then ranking
Not a ranking but weights are needed → AHP, BWM, SWARA (subjective) · Entropy, CRITIC (objective)
Strengths
COBRA's advantage is that it uses four reference points together, looking not only at closeness to the ideal but also at an alternative's position relative to the average. This makes the difference more visible between an alternative that sits above the average but far from the ideal and one that sits below the average. Using straight-line and city-block distance together also accounts for whether the differences are spread evenly across criteria or concentrated in a single one. Comparative studies have reported that COBRA shows high agreement with other ranking methods.
Weaknesses
Its limitations are shared with the TOPSIS family. When the alternative set changes, all four reference points shift with it; an alternative added or removed afterwards can change how the others rank relative to one another (García-Cascales and Lamata, 2012). The assumption of full compensation applies: a serious weakness on one criterion can be papered over by others. Because the method was proposed only in 2022, its literature has not yet been tested as widely as TOPSIS's or VIKOR's; the number of independent applications remains limited. The quality of the weights lies outside the method itself; a flawless calculation built on poor weights still produces a poor ranking.
Common Mistakes
The most common mistake is marking criterion direction wrongly, which reverses the best and worst reference points. A second mistake is mistaking the lowest score for the "worst" one; in COBRA the lowest comprehensive distance marks the best alternative. A third is assigning equal weights without justification. A fourth is adding an alternative once the analysis is finished and being surprised the ranking shifts. A fifth is reading the comprehensive distance score as a percentage and comparing scores from different analyses.
The governing principle is this:
COBRA's comprehensive distance score is a four-reference summary of the directions, weights and alternative set you supplied; if any input is contested, the ranking is contested too.
Cases
Each case opens with a decision table, describes in words what the method does to it, and shows how to read the result.
1. Environment: Choosing among three recycling facilities (illustrative example)
A municipality will choose among three recycling-facility technologies. Three criteria apply: recovery rate, energy-efficiency score and unit processing cost. Recovery rate and energy efficiency are "higher is better"; cost is "lower is better." The municipality set the weights so that energy efficiency carries the most (0.40) and recovery rate and cost carry equal, lower weights (0.30 each).
| Facility | Recovery Rate | Energy Efficiency | Unit Cost |
|---|---|---|---|
| G1 | 3 | 2 | 2 |
| G2 | 1 | 2 | 1 |
| G3 | 2 | 3 | 1 |
| Direction | higher is better | higher is better | lower is better |
| Weight | 0.30 | 0.40 | 0.30 |
The method first divides each column by its own largest value, then multiplies by the weights. It then builds the four reference points: the best values, the worst values, the part above the average and the part below it. Finally, it calculates each facility's combined distance to these four points and finds the comprehensive score.
| Facility | Comprehensive Distance Score | Rank |
|---|---|---|
| G3 | -0.0423 | 1 |
| G1 | -0.0238 | 2 |
| G2 | 0.0555 | 3 |
The result reads as follows. G3 has the highest energy efficiency and is among the lowest-cost facilities; it therefore takes the lowest, that is the best, comprehensive score. G1 is best on recovery rate but has the highest cost; this imbalance drops it to second place. G2 has the lowest recovery rate and does not stand out on energy efficiency either; its comprehensive score comes out highest, that is worst.
The municipality hesitates here. If the weight on recovery rate is raised from 0.30 to 0.60 and energy efficiency and cost are each lowered by 0.20, the ranking changes: G1 comes first, G3 second, and G2 remains last. This shows that the result depends on which environmental goal is treated as the priority.
In the report: "With the weights given, G3 has the lowest comprehensive distance and is the preferred facility; however, the gap to G1 is sensitive to the weight on recovery rate, and G1 moves ahead once this weight is raised to 0.60."
Source: Krstić et al. (2022). The figures in this case are DecisionMind's own validation example, not taken from the paper's application; the engine applies the steps Krstić and colleagues defined exactly as described.
2. Water Management: A municipality's choice of drinking-water treatment technology
A municipality will choose among three drinking-water treatment technologies. Four criteria have been set: treatment efficiency (higher is better), installation cost (lower is better), annual operating cost (lower is better) and maintenance frequency (times per year, lower is better). The weights were set on the water authority's advice, with treatment efficiency given the highest weight.
The method builds the four reference points (best, worst, above-average, below-average) and calculates each technology's combined distance to them. Suppose the technology with the lowest comprehensive score comes first. Its treatment efficiency is highest and its operating cost is also below the average; it therefore holds an advantageous position both relative to the ideal and relative to the average.
The water authority hesitates here: this technology's installation cost is the highest. The comprehensive score has offset this against its advantage on operating cost, but if the municipality's budget is constrained at the installation stage, this technology may not be feasible. The comprehensive score does not account for a budget constraint on its own.
In the report: "The lowest comprehensive distance falls on the technology with high treatment efficiency and low operating cost; the installation budget should be assessed as a separate constraint."
3. Fire Service: A provincial directorate's choice of new vehicle fleet
A provincial fire service directorate will add one of three vehicle models to its fleet. Three criteria apply: water-tank capacity (litres, higher is better), maximum travel speed (higher is better) and maintenance cost (lower is better). The weights were set on the field teams' advice, with tank capacity given the highest weight.
The method calculates the three vehicles' combined distance to the four reference points. Suppose the vehicle with the largest tank capacity comes first, but this vehicle is also the slowest. Because the weight on tank capacity is high, its speed disadvantage is outweighed in the comprehensive score.
The field teams hesitate here: if city-centre traffic is heavy, speed is a critical factor, and the low speed may not be sufficiently reflected in the comprehensive score. In that case, the speed criterion should be given a higher weight and the analysis repeated.
In the report: "The lowest comprehensive distance falls on the vehicle with the highest tank capacity; whether the ranking changes once the speed criterion's weight is raised should be checked separately."
4. What Not to Do
Had cost been marked "higher is better" in the same facility table, the best and worst reference points would have reversed, and the most expensive facility would have appeared advantageous. A second error is reading the lowest comprehensive score as the "worst result"; in COBRA the lowest score marks the best alternative, the opposite of TOPSIS. A third error is reporting G3's score of -0.0423 as "4 per cent better"; the score only ranks these three facilities relative to one another and is not on a fixed scale.
Sources
For the formulas behind each step, the intermediate tables and citation formats, see the DecisionMind method page: decisionmind.app/library/cobra
Krstić, M., Agnusdei, G. P., Miglietta, P. P., Tadić, S., & Roso, V. (2022). Applicability of Industry 4.0 Technologies in the Reverse Logistics: A Circular Economy Approach Based on COmprehensive Distance Based RAnking (COBRA) Method. Sustainability, 14(9), 5632. DOI: 10.3390/su14095632
García-Cascales, M. S., & Lamata, M. T. (2012). On rank reversal and TOPSIS method. Mathematical and Computer Modelling, 56(5–6), 123–132. DOI: 10.1016/j.mcm.2011.12.022