COBRA Method
Comprehensive Distance-Based Ranking
COBRA (Comprehensive Distance-Based Ranking) is a distance-based MCDM method proposed by Krstić et al. in 2022. It ranks alternatives by evaluating their comprehensive distances from the positive ideal, negative ideal, and average solutions, providing a robust and reliable decision-making framework.
Video Demonstration
Step-by-Step Algorithm
Form the decision matrix
Create the decision matrix with $m$ alternatives and $n$ criteria:
\[ X=\begin{bmatrix} x_{11} & x_{12} & \cdots & x_{1n}\\ x_{21} & x_{22} & \cdots & x_{2n}\\ \vdots & \vdots & \ddots & \vdots\\ x_{m1} & x_{m2} & \cdots & x_{mn} \end{bmatrix} \]
$x_{ij}$ presents the performance value of ith alternative on jth criterion, $m$ and $n$ are the numbers of alternatives and criteria respectively.
| Alternative | $C_1$ | $C_2$ | $C_3$ |
|---|---|---|---|
| $A_1$ | 10 | 20 | 30 |
| $A_2$ | 15 | 25 | 35 |
| $A_3$ | 25 | 15 | 35 |
Normalize the decision matrix
Create the normalized decision matrix by dividing each element by the maximum value in its column.
Create the normalized decision matrix in the following way :
$$ r_{ij}=\frac{x_{ij}} {\displaystyle\max_i(x_{ij})}, \qquad i=1,2,\ldots,m,\; j=1,2,\ldots,n. $$The normalized decision matrix is
$$ R=[r_{ij}]=\begin{bmatrix} r_{11} & r_{12} & \cdots & r_{1n}\\ r_{21} & r_{22} & \cdots & r_{2n}\\ \vdots & \vdots & \ddots & \vdots\\ r_{m1} & r_{m2} & \cdots & r_{mn} \end{bmatrix}. $$| Alternative | $C_1$ | $C_2$ | $C_3$ |
|---|---|---|---|
| $A_1$ | 0.4000 | 0.8000 | 0.8571 |
| $A_2$ | 0.6000 | 1.0000 | 1.0000 |
| $A_3$ | 1.0000 | 0.6000 | 1.0000 |
Construct the weighted normalized decision matrix
Multiply each normalized value by the corresponding criterion weight.
The weighted normalized decision matrix is obtained by multiplying each normalized value by the corresponding criterion weight.
$$ v_{ij}=w_j\,r_{ij}, \qquad i=1,2,\ldots,m, \quad j=1,2,\ldots,n, $$Where
- \(w_j\) is the weight of criterion \(j\),
- \(r_{ij}\) is the normalized value of alternative \(i\) under criterion \(j\).
The weighted normalized decision matrix is
$$ V=[v_{ij}]=\begin{bmatrix} v_{11} & v_{12} & \cdots & v_{1n}\\ v_{21} & v_{22} & \cdots & v_{2n}\\ \vdots & \vdots & \ddots & \vdots\\ v_{m1} & v_{m2} & \cdots & v_{mn} \end{bmatrix}. $$| Alternative | $C_1$ | $C_2$ | $C_3$ |
|---|---|---|---|
| $A_1$ | 0.2912 | 0.1607 | 0.0610 |
| $A_2$ | 0.4367 | 0.2009 | 0.0712 |
| $A_3$ | 0.7279 | 0.1205 | 0.0712 |
Positive ideal solution, negative ideal solution and average solution
After constructing the weighted normalized decision matrix $V=[v_{ij}]$, determine the Positive Ideal Solution (PIS), Negative Ideal Solution (NIS) and Average Solution (AS).
Positive ideal solution (PIS)
For each criterion, the positive ideal solution is defined as
$$ A^{+}=\left\{ v_{1}^{+}, v_{2}^{+}, \ldots, v_{n}^{+} \right\}, $$ $$ v_{j}^{+}=\begin{cases} \displaystyle\max_i(v_{ij}), & \text{Benefit criterion},\\[8pt] \displaystyle\min_i(v_{ij}), & \text{Cost criterion}. \end{cases} $$Negative ideal solution (NIS)
For each criterion, the negative ideal solution is defined as
$$ A^{-}=\left\{ v_{1}^{-}, v_{2}^{-}, \ldots, v_{n}^{-} \right\}, $$ $$ v_{j}^{-}=\begin{cases} \displaystyle\min_i(v_{ij}), & \text{Benefit criterion},\\[8pt] \displaystyle\max_i(v_{ij}), & \text{Cost criterion}. \end{cases} $$Average solution (AS)
The average solution is obtained by calculating the arithmetic mean of each criterion.
| Metric | $C_1$ | $C_2$ | $C_3$ |
|---|---|---|---|
| PIS ($v_j^+$) | 0.7279 | 0.2009 | 0.0712 |
| NIS ($v_j^-$) | 0.2912 | 0.1205 | 0.0610 |
| AS ($v_j^0$) | 0.4853 | 0.1607 | 0.0678 |
Euclidean distances
Calculate the Euclidean distances from each alternative to PIS, NIS, AS⁺ and AS⁻.
Euclidean distance from positive ideal solution
$$ d_{E}(\mathrm{PIS})_{i}=\sqrt{ \sum_{j=1}^{n} \left( v_{ij}-v_{j}^{+} \right)^2}, \qquad i=1,2,\ldots,m. $$Euclidean distance from negative ideal solution
$$ d_{E}(\mathrm{NIS})_{i}=\sqrt{ \sum_{j=1}^{n} \left( v_{ij}-v_{j}^{-} \right)^2}, \qquad i=1,2,\ldots,m. $$Euclidean distance from positive average solution
$$ d_{E}(\mathrm{AS})_{i}^{+}=\sqrt{ \sum_{j=1}^{n} \tau_{ij}^{+} \left( v_{ij}-v_{j}^{0} \right)^2}, \qquad i=1,2,\ldots,m. $$Euclidean distance from negative average solution
$$ d_{E}(\mathrm{AS})_{i}^{-}=\sqrt{ \sum_{j=1}^{n} \tau_{ij}^{-} \left( v_{ij}-v_{j}^{0} \right)^2}, \qquad i=1,2,\ldots,m. $$ $$ \tau_{ij}^{+}=\begin{cases} 1, & \text{if} v_{j}^{0} < v_{ij} ,\\ 0, & \text{if} v_{j}^{0} >v_{ij} . \end{cases} $$ $$ \tau_{ij}^{-}=\begin{cases} 1, & \text{if} v_{j}^{0} >v_{ij},\\ 0, & \text{if} v_{j}^{0} < v_{ij}. \end{cases} $$τ indicator values (based on $v_{ij}$ vs $v_j^0$):
| Alt | $\tau_1^+$ | $\tau_2^+$ | $\tau_3^+$ | $\tau_1^-$ | $\tau_2^-$ | $\tau_3^-$ |
|---|---|---|---|---|---|---|
| $A_1$ | 0 | 0 | 0 | 1 | 0 | 1 |
| $A_2$ | 0 | 1 | 1 | 1 | 0 | 0 |
| $A_3$ | 1 | 0 | 1 | 0 | 1 | 0 |
| Alternative | $d_E(\text{PIS})$ | $d_E(\text{NIS})$ | $d_E(\text{AS})^+$ | $d_E(\text{AS})^-$ |
|---|---|---|---|---|
| $A_1$ | 0.4387 | 0.0402 | 0.0000 | 0.1942 |
| $A_2$ | 0.2912 | 0.1666 | 0.0403 | 0.0486 |
| $A_3$ | 0.0804 | 0.4368 | 0.2426 | 0.0402 |
Manhattan distances
Calculate the Manhattan distances from each alternative to PIS, NIS, AS⁺ and AS⁻.
Manhattan distance from positive ideal solution
$$ d_{T}(\mathrm{PIS})_{i}=\sum_{j=1}^{n} \left| v_{ij}-v_{j}^{+} \right|, \qquad i=1,2,\ldots,m. $$Manhattan distance from negative ideal solution
$$ d_{T}(\mathrm{NIS})_{i}=\sum_{j=1}^{n} \left| v_{ij}-v_{j}^{-} \right|, \qquad i=1,2,\ldots,m. $$Manhattan distance from positive average solution
$$ d_{T}(\mathrm{AS})_{i}^{+}=\sum_{j=1}^{n} \tau_{ij}^{+} \left| v_{ij}-v_{j}^{0} \right|, \qquad i=1,2,\ldots,m. $$Manhattan distance from negative average solution
$$ d_{T}(\mathrm{AS})_{i}^{-}=\sum_{j=1}^{n} \tau_{ij}^{-} \left| v_{ij}-v_{j}^{0} \right|, \qquad i=1,2,\ldots,m. $$ $$ \tau_{ij}^{+}=\begin{cases} 1, & \text{if} v_{j}^{0} < v_{ij} ,\\ 0, & \text{if} v_{j}^{0} >v_{ij}. \end{cases} $$ $$ \tau_{ij}^{-}=\begin{cases} 1, & \text{if} v_{j}^{0} >v_{ij},\\ 0, & \text{if} v_{j}^{0} < v_{ij}. \end{cases} $$| Alternative | $d_T(\text{PIS})$ | $d_T(\text{NIS})$ | $d_T(\text{AS})^+$ | $d_T(\text{AS})^-$ |
|---|---|---|---|---|
| $A_1$ | 0.4871 | 0.0402 | 0.0000 | 0.2009 |
| $A_2$ | 0.2912 | 0.2361 | 0.0436 | 0.0486 |
| $A_3$ | 0.0804 | 0.4469 | 0.2460 | 0.0402 |
Correction coefficient
The correction coefficient is calculated as the difference between the maximum and minimum Euclidean distances for each type.
Correction coefficient for PIS
$$ \sigma_{\mathrm{PIS}}=\max_i d_E(\mathrm{PIS})_i - \min_i d_E(\mathrm{PIS})_i $$Correction coefficient for NIS
$$ \sigma_{\mathrm{NIS}}=\max_i d_E(\mathrm{NIS})_i - \min_i d_E(\mathrm{NIS})_i $$Correction coefficient for positive average solution
$$ \sigma_{\mathrm{AS}}^{+}=\max_i d_E(\mathrm{AS})_i^{+} - \min_i d_E(\mathrm{AS})_i^{+} $$Correction coefficient for negative average solution
$$ \sigma_{\mathrm{AS}}^{-}=\max_i d_E(\mathrm{AS})_i^{-} - \min_i d_E(\mathrm{AS})_i^{-} $$| Metric | $\sigma_{\text{PIS}}$ | $\sigma_{\text{NIS}}$ | $\sigma_{\text{AS}}^+$ | $\sigma_{\text{AS}}^-$ |
|---|---|---|---|---|
| Value | 0.3583 | 0.3966 | 0.2426 | 0.1540 |
Distance from PIS, NIS and AS
Compute the corrected distances by incorporating the correction coefficient, Euclidean distance and Manhattan distance.
Distance from positive ideal solution
$$ d(\mathrm{PIS})_{i}=d_{E}(\mathrm{PIS})_{i} + \sigma_{\mathrm{PIS}} \times d_{E}(\mathrm{PIS})_{i} \times d_{T}(\mathrm{PIS})_{i} $$Distance from negative ideal solution
$$ d(\mathrm{NIS})_{i}=d_{E}(\mathrm{NIS})_{i} + \sigma_{\mathrm{NIS}} \times d_{E}(\mathrm{NIS})_{i} \times d_{T}(\mathrm{NIS})_{i} $$Distance from positive average solution
$$ d(\mathrm{AS})_{i}^{+}=d_{E}(\mathrm{AS})_{i}^{+} + \sigma_{\mathrm{AS}}^{+} \times d_{E}(\mathrm{AS})_{i}^{+} \times d_{T}(\mathrm{AS})_{i}^{+} $$Distance from negative average solution
$$ d(\mathrm{AS})_{i}^{-}=d_{E}(\mathrm{AS})_{i}^{-} + \sigma_{\mathrm{AS}}^{-} \times d_{E}(\mathrm{AS})_{i}^{-} \times d_{T}(\mathrm{AS})_{i}^{-} $$| Alternative | $d(\text{PIS})$ | $d(\text{NIS})$ | $d(\text{AS})^+$ | $d(\text{AS})^-$ |
|---|---|---|---|---|
| $A_1$ | 0.5153 | 0.0408 | 0.0000 | 0.2002 |
| $A_2$ | 0.3216 | 0.1822 | 0.0407 | 0.0490 |
| $A_3$ | 0.0827 | 0.5142 | 0.2571 | 0.0404 |
Comprehensive distances and ranking
Compute the comprehensive distance for each alternative and rank them.
Comprehensive distance
Ranking
The alternatives are ranked according to their comprehensive distances. The ranking is in ascending order of \(d_{C_i}\).
A lower $d_{C_i}$ means the alternative is closer to PIS, farther from NIS, and above the average — indicating a better choice.
| Alternative | Comprehensive Distance ($d_{C_i}$) |
|---|---|
| $A_1$ | 0.1687 |
| $A_2$ | 0.0369 |
| $A_3$ | -0.1621 |
Final ranking: $A_3 \succ A_2 \succ A_1$
