TOPSIS method
The TOPSIS process is carried out as follows: ;Step 1: Create an evaluation matrix consisting of m alternatives and n criteria, with the intersection of each alternative and criteria given as x_{ij}, we therefore have a matrix ( x_{ij} )_{m \times n}. ;Step 2: The matrix ( x_{ij} )_{m \times n} is then normalised to form the matrix :: R = ( r_{ij} )_{m \times n}, using the normalisation method :: r_{ij} = \frac {x_{ij}} {\sqrt{\sum_{k=1}^m x_{kj}^2 }}, \quad i = 1, 2, \ldots, m, \quad j = 1, 2, \ldots, n ;Step 3: Calculate the weighted normalised decision matrix :: t_{ij}= r_{ij}\cdot w_j, \quad i=1,2,\ldots,m, \quad j=1,2,\ldots,n :where w_j = W_j \Big/ \sum_{k=1}^n W_k, j = 1, 2, \ldots, n so that \sum_{i=1}^n w_i = 1, and W_j is the original weight given to the indicator v_j, \quad j = 1, 2, \ldots, n. ;Step 4: Determine the worst alternative (A_w) and the best alternative (A_b): :: A_w = \{ \langle \max(t_{ij} \mid i = 1,2,\ldots,m) \mid j \in J_- \rangle, \langle \min(t_{ij} \mid i = 1,2,\ldots,m) \mid j \in J_+ \rangle \rbrace \equiv \{ t_{wj} \mid j= 1,2,\ldots,n \rbrace, :: A_b = \{ \langle \min(t_{ij} \mid i = 1,2,\ldots,m) \mid j \in J_- \rangle, \langle \max(t_{ij} \mid i = 1,2,\ldots,m) \mid j \in J_+ \rangle \rbrace \equiv \{ t_{bj} \mid j= 1,2,\ldots,n \rbrace, :where, :: J_+ = \{ j = 1,2,\ldots,n \mid j\} associated with the criteria having a positive impact, and :: J_- = \{ j = 1,2,\ldots,n \mid j\} associated with the criteria having a negative impact. ;Step 5: Calculate the L2-distance between the target alternative i and the worst condition A_w :: d_{iw} = \sqrt{\sum_{j=1}^n (t_{ij} - t_{wj})^2}, \quad i = 1, 2, \ldots, m, : and the distance between the alternative i and the best condition A_b :: d_{ib} = \sqrt{\sum_{j=1}^n (t_{ij} - t_{bj})^2}, \quad i = 1, 2, \ldots , m :where d_{iw} and d_{ib} are L2-norm distances from the target alternative i to the worst and best conditions, respectively. ;Step 6: Calculate the similarity to the worst condition: :: s_{iw}= d_{iw} / (d_{iw} + d_{ib}), \quad 0 \le s_{iw} \le 1, \quad i = 1, 2, \ldots , m. :: s_{iw} = 1 if and only if the alternative solution has the best condition; and :: s_{iw} = 0 if and only if the alternative solution has the worst condition. ; Step 7: Rank the alternatives according to s_{iw} \,\, (i = 1, 2, \ldots, m). ==Normalisation==