Methods · Ranking
CODAS (Combinative Distance-Based Assessment)
CODAS ranks alternatives by comparing them against a single worst reference point using two different distance measures. It looks first at straight-line, Euclidean, distance; if alternatives come out very close to one another, it also brings in horizontal-and-vertical, that is city-block, distance.
Base method's data type: Classical
What Is the Method?
CODAS is a ranking method that orders alternatives into a single sequence once you hold a decision table filled with numbers. Its output is an assessment score for every alternative; this score can be positive or negative. Alternatives are ranked by this score. The method uses a distance measure, as TOPSIS does, but unlike TOPSIS it looks at only a single "worst" reference point. It uses two different types of distance in sequence rather than a single one. It does not generate weights, it takes them from outside. Keshavarz Ghorabaee, Zavadskas, Turskis and Antucheviciene proposed the method in 2016. It has been applied in areas such as supplier selection, market-segment assessment and production planning.
The Philosophy Behind It
The idea behind CODAS is to look at how far alternatives sit from the worst possible one. But the method tests this with two different distance measures rather than one. It first calculates straight-line, Euclidean, distance; this is the classical geometric distance TOPSIS also uses. Two alternatives' Euclidean distances can come out very close to one another, meaning the difference between them falls below a set threshold. In that case a second measure is brought in to separate them. This measure is city-block distance, the sum of horizontal and vertical differences.
This is what distinguishes TOPSIS from CODAS. TOPSIS looks at both the ideal and the anti-ideal and uses a single type of distance. CODAS looks only at the anti-ideal, that is the negative-ideal, but uses two different distance types in sequence, one acting as referee for the other.
This idea carries a philosophical consequence. CODAS is also compensatory, but it carries an additional mechanism for telling apart rival alternatives that come out very close together. If two alternatives sit at almost the same straight-line, Euclidean, distance, the city-block distance reveals which of them has the more "uneven" profile across criteria. The reason is this: city-block distance sums the difference on each criterion separately, so it can punish a single large deviation differently from several small ones.
The threshold value (τ) is a parameter that determines the switch between these two measures. The user should set this value according to the scale of the data. DecisionMind fixes this threshold at 0.02 for classical CODAS and states this in the report.
How It Works
The method proceeds through six steps.
First, linear normalisation. For a benefit criterion, the method divides each cell by the column's largest value; for a cost criterion, it divides the column's smallest value by each cell. Every column becomes unit-free as a result.
Second, weighting. The method multiplies each normalised column by the criterion's weight.
Third, the negative-ideal point. In the weighted table, the method builds a hypothetical "worst alternative" from each criterion's worst, that is smallest, value. CODAS uses only this single reference. It does not, unlike TOPSIS, also build a "best," that is ideal, reference.
Fourth, two distances. The method calculates every real alternative's straight-line (Euclidean) distance and horizontal-plus-vertical (city-block) distance to this negative-ideal. Every alternative carries both these distance values.
Fifth, pairwise comparison. The method compares alternatives against one another two at a time. It first looks at the difference between their Euclidean distances. If this difference exceeds a set threshold, the comparison is settled directly by that difference. If the difference is smaller than the threshold, meaning the two alternatives are practically equal in a straight line, the difference between their city-block distances is brought in and settles the comparison instead.
Sixth, the assessment score. The method sums each alternative's pairwise-comparison results against every other alternative; this total can be positive or negative. Alternatives are ranked by this score from highest to lowest.
The formulas behind each step, the intermediate tables and the citation formats are given on the DecisionMind method page; this card carries no formulas.
How to Read the Output
The assessment score states how well an alternative is positioned, relative to the negative-ideal, against the other alternatives in this set. It says nothing more. A negative score does not mean "poor" or "unsuccessful." It only shows that this alternative fell behind the others in the pairwise comparisons. The scores form a relative scale around zero, not an absolute measure of quality. A score of 0.39 does not mean "39 per cent good." This score cannot be compared with a CODAS score from a different analysis. The reason is this: the negative-ideal is built afresh, in every analysis, from that analysis's own alternatives.
If the score gap between two alternatives is small, the report should state separately where this gap comes from: whether it comes from the Euclidean distance, or from the city-block distance the threshold has brought into play. Changing the threshold value (τ) can reverse the direction of these small gaps.
For this reason:
"CODAS found the best alternative with certainty"
should be written as:
"With these weights, this threshold value and this alternative set, the alternative furthest from the worst reference is this one; the ranking is sensitive to the weight on these criteria and to the threshold value"
Data Type and Inputs
Classical CODAS works with crisp data: one number in every cell. If your data is uncertain by expert judgement, given as a range, or contradictory across experts, what needs to change is the data type, not the method. CODAS has fuzzy, grey, intuitionistic and other extensions. DecisionMind holds eighteen CODAS members alongside the base method.
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; criterion weights that sum to 1; and a threshold value (τ). CODAS does not produce weights, it asks for them. The threshold value should be set according to the scale of the data. A very small threshold brings the city-block distance into play in almost every comparison. A very large threshold never lets the city-block distance be used at all; CODAS then effectively reduces to Euclidean distance alone. A minimum of two alternatives and two criteria is required; three to twelve criteria work comfortably.
When to Use It, When Not To
CODAS is a suitable choice if your criteria can be measured numerically, your table has no gaps, and there is a chance that some alternatives sit too close together to be told apart by straight-line distance alone. In that case a second distance measure sharpens the discrimination. Its typical territory is supplier and market-segment evaluation, production processes and technology selection.
The case where it should not be used follows from the method's own philosophy. If you will not compromise on one criterion, CODAS will not prevent this, because it is compensatory. If you have no justification for how to set the threshold value (τ) and your data scale is unusual, for example made up of very small or very large numbers, do not trust CODAS without first testing how the default threshold affects the result. Where criteria are strongly linked to one another, that link needs handling first.
A numerical table, a second distance measure wanted to tell close rivals apart → CODAS
Same goal, but the data is fuzzy / grey / intuitionistic → the relevant CODAS extension
Looking at both the ideal and the anti-ideal with a single distance type is enough → TOPSIS
No compromise on one criterion, sub-threshold alternatives must be screened out → screening first, then ranking; or elimination-based methods
Not a ranking but weights are needed → AHP, BWM, SWARA (subjective) · Entropy, CRITIC (objective)
Strengths
CODAS's chief advantage is that it carries a second distance measure for telling apart alternatives that come out very close together. This gives it a discriminating power not found in methods that rely on Euclidean distance alone. Using two different distance types together also takes into account, indirectly, how balanced an alternative is across criteria: this balance shows whether an alternative's deviations are spread out or concentrated in a single criterion. The computational burden is small, and the method has been applied in areas such as supplier selection and market-segment evaluation (Keshavarz Ghorabaee et al., 2016; Keshavarz Ghorabaee et al., 2017).
Weaknesses
Its limitations stem from the same structure. First, the method assumes full compensation, so a weakness on one criterion can be papered over by strength on others. Second, like other distance-based ranking methods, CODAS is open to rank reversal; because the negative-ideal point is built from the alternatives themselves, an alternative added to or removed from the set shifts this reference (Aires and Ferreira, 2018). Third, the threshold value (τ) is a parameter set by the user from outside the method. If how this value was chosen is not justified, the result can look arbitrary. Fourth, the method assumes criteria are independent of one another. Fifth, the quality of the weights lies outside the method itself.
Common Mistakes
The most common mistake is marking criterion direction wrongly. This builds the negative-ideal point incorrectly and reverses the ranking. A second mistake is interpreting a negative assessment score as a "failed alternative." In fact this score only shows the alternative's relative standing within this set. A third mistake is leaving the threshold value (τ) at its default without ever questioning it; the user then never tests whether the ranking of two close alternatives is sensitive to this threshold. A fourth mistake is adding an alternative once the analysis is finished; this addition changes the negative-ideal, and hence every score, though the user often fails to notice. A fifth mistake is choosing a compensatory method for a situation where one criterion can never be traded away.
The governing principle is this:
A CODAS result is a summary of the alternatives' relative standing, tested with two different distance measures, against this set's own negative-ideal point. This standing changes as the threshold value and the alternative set change, and the report must show this.
Cases
Each case opens with a decision table, describes in words what the method does to it, and shows how to read the result. The first case is DecisionMind's validation example; the figures are taken from the manifest and the engine reproduces the same result. The remaining cases are illustrative constructions.
1. Illustrative Example: Three alternatives, three criteria (DecisionMind validation example)
This example is not drawn from the literature; it is a small table built to make CODAS's engine steps traceable by hand. Three alternatives are assessed on three criteria; the first two are "higher is better," the third is "lower is better" (cost). The threshold value is taken as τ = 0.02.
| Alternative | C1 | C2 | C3 (Cost) |
|---|---|---|---|
| A1 | 3 | 5 | 4 |
| A2 | 5 | 3 | 2 |
| A3 | 4 | 4 | 3 |
| Direction | higher is better | higher is better | lower is better |
| Weight | 0.40 | 0.35 | 0.25 |
The method first normalises each column linearly. For C1 and C2, each cell is divided by the column's largest value; for C3, the column's smallest value is divided by each cell. It then multiplies the normalised columns by the weights. It builds the negative-ideal point from the worst values in the weighted table and calculates every alternative's straight-line (Euclidean) and horizontal-plus-vertical (city-block) distance to it. Finally, it compares the alternatives two at a time. If the Euclidean difference exceeds the threshold, the comparison is settled directly by that difference; if not, the city-block difference is brought in instead. The method sums these comparisons into an assessment score.
| Alternative | Assessment Score | Rank |
|---|---|---|
| A2 | 0.3902 | 1 |
| A3 | -0.1564 | 2 |
| A1 | -0.2339 | 3 |
The result reads as follows. A2 holds the highest value on C1 (5) and the lowest value on C3, that is on cost (2). A2 is the alternative furthest from the negative-ideal on these two criteria. The two most heavily weighted criteria (C1 at 0.40, C3 at 0.25, together 0.65) both favour A2 here. A2 therefore more than offsets its weakness on C2 (3, the lowest). The Euclidean distance between A3 and A1 differs by more than the threshold (0.02), so the city-block distance is not brought in here. A3 leads A1 with middling values on all three criteria.
The decision's hesitation: if C2's weight is raised from 0.35 to 0.49 and C1's weight is lowered from 0.40 to 0.26 (C3 stays fixed at 0.25), A1 moves ahead. The same calculation now puts A1 first at 0.0822 and A2 second at 0.0810. The gap between them is only 0.0012. Under this weight distribution, the order between A1 and A2 becomes extremely sensitive to the chosen threshold value (τ = 0.02). If the threshold were raised or lowered slightly, the comparison between these two alternatives could shift onto city-block distance, and the order could change again.
In the report: "With the weights given (C1 = 0.40, C2 = 0.35, C3 = 0.25) and a threshold of τ = 0.02, A2 has the highest assessment score (0.3902); if C2's weight is raised enough to overtake C1 (C2 = 0.49, C1 = 0.26), A1 moves ahead, but the gap between A1 and A2 in this scenario is only 0.0012 and is sensitive to the chosen threshold value."
Source: DecisionMind CODAS manifest, validation example; the steps follow the definition of Keshavarz Ghorabaee et al. (2016). The figures for the weight-change scenario were independently recalculated by this card's author using the same algorithm.
2. Media: A streaming platform's choice of content-licensing partner
A digital streaming platform will sign with one of three licence providers for a new content library. Four criteria apply: licence fee, hours of content offered, audience approval score (from pilot tests) and contract-term flexibility score. Hours of content, approval score and flexibility score are "higher is better"; licence fee is "lower is better." The platform set the weights to give audience approval score the largest share, because subscriber retention is a strategic priority. The threshold value is set at τ = 0.03.
The method builds the negative-ideal point from the three providers' normalised table. It calculates each provider's two distances to this point and produces an assessment score through pairwise comparisons. Suppose the provider with the highest approval score also has the highest licence fee. It still comes out first, because the weight on approval score exceeds the weight on fee. The second and third providers' Euclidean distances come out very close to one another, so the order between them is settled by city-block distance.
The platform's hesitation: choosing the most expensive provider may strain the content budget. Management must defend this cost on the grounds of audience approval. It must also be stated separately in the report that the order between the second and third providers comes from city-block distance. If the threshold value were changed, these two providers could swap places.
In the report: "With the high weight given to audience approval score, the most approved provider reaches the highest assessment score; the order between the second and third providers is sensitive to the threshold value (τ = 0.03), and this threshold should be separately justified."
3. Water Management: A municipality's choice of drinking-water treatment technology
A municipal water and sewerage authority will choose among three technologies for a new treatment plant. Four criteria apply: installation cost, annual operating (energy and chemical) cost, treatment-efficiency percentage and maintenance frequency (interventions required per year). Treatment efficiency is "higher is better"; installation cost, operating cost and maintenance frequency are "lower is better." The authority set the weights to give treatment efficiency the largest share, because the water-quality standard is a legal requirement. The threshold value is set at τ = 0.02.
The method builds the negative-ideal point from the three technologies' normalised table and compares them using the two distance types. Suppose the technology with the highest treatment efficiency also has the highest installation cost. It still comes out first, because the weight on efficiency exceeds the weight on installation cost.
The authority's hesitation: choosing the most expensive technology may strain the investment budget. Choosing a technology with a high maintenance frequency could also raise the long-term operating burden. This burden appears in the CODAS score only as a low-weighted component. The authority should screen out technologies below the legal efficiency threshold before running CODAS, and rank only the remaining technologies with this method.
In the report: "With the high weight given to treatment efficiency, the most efficient technology reaches the highest assessment score; technologies below the legal efficiency threshold were excluded from the analysis, and the maintenance burden should be monitored separately as an operating risk."
4. What Not to Do
Had C3, that is cost, been marked "higher is better" in the same illustrative table, the negative-ideal point would have been built from the wrong criterion. The advantage A2 gains from its low cost would then reverse, and the ranking would become meaningless. A second error is the platform or the authority adding a fourth alternative once the analysis is finished. This addition changes the negative-ideal point, and hence every assessment score. A third error is leaving the threshold value (τ) at its default without ever questioning it; the user then never tests how sensitive the order between two close alternatives is to this threshold. In the illustrative example, the gap of 0.0012 between A1 and A2 shows exactly this sensitivity.
Extensions: for different data types
CODAS has 17 extensions in the library. Same decision logic, different data type: if your data is not a classical number, read the relevant data type card, then open that member.
Fuzzy5
- FF-CODAS - Fermatean extension of FF-CODASAcademy card →
- Fuzzy CODAS - Fuzzy extension of CODASAcademy card →
- TIF-CODAS - Triangular Intuitionistic Fuzzy Group CODAS (TIFN-CODAS)Academy card →
- IVAIF-CODAS - Interval-Valued Atanassov Intuitionistic Fuzzy CODASAcademy card →
- TIFN-CODAS - Triangular Intuitionistic Fuzzy Number CODAS (Daami Remadi & Frikha 2023)Academy card →
Sources
For the formulas behind each step, the intermediate tables and citation formats (BibTeX, RIS, APA), see the DecisionMind method page: decisionmind.app/library/codas
Keshavarz Ghorabaee, M., Zavadskas, E. K., Turskis, Z., & Antucheviciene, J. (2016). A new combinative distance-based assessment (CODAS) method for multi-criteria decision-making. Economic Computation and Economic Cybernetics Studies and Research, 50(3), 25–44. (No DOI. This article is not registered in Crossref; the manifest's 10.2139/ssrn.3177276 resolves to a different article [Badi, Shetwan and Abdulshahed, 2018, "Supplier Selection Using CODAS"] and is not used as the seminal citation; see the approval notes.)
Keshavarz Ghorabaee, M., Amiri, M., Zavadskas, E. K., Hooshmand, R., & Antucheviciene, J. (2017). Fuzzy extension of the CODAS method for multi-criteria market segment evaluation. Journal of Business Economics and Management, 18(1), 1–19. DOI: 10.3846/16111699.2016.1278559
Aires, R. F. de F., & Ferreira, L. (2018). The rank reversal problem in multi-criteria decision making: A literature review. Pesquisa Operacional, 38(2), 331–362. DOI: 10.1590/0101-7438.2018.038.02.0331
Zavadskas, E. K., & Turskis, Z. (2011). Multiple criteria decision making (MCDM) methods in economics: An overview. Technological and Economic Development of Economy, 17(2), 397–427. DOI: 10.3846/20294913.2011.593291