MULTI-CRITERIA DECISION MAKING SIMPLIFIED WITH AHP


In our real life we often face situations where we need to select one out of many. If the decision is dependent on single short listing criteria, the problem as well as confusion will be optimum. The problem grows many fold with increase in the number of selection criteria. AHP is a savior in such circumstances.
AHP stands for Analytic Hierarchy Process. This is one of the several Multi Criteria Decision Making techniques. I will cover them later. Credit goes to Prof. Thomas Saaty. He conceptualized AHP.
AHP ranks available list of items. It considers all the parameters for prioritizing and ranking. The best way to understand any mathematical method is to solve a problem. Going by the same rules, I will present a problem. The solution and the concept will develop simultaneously.
Problem Description:
P.1. Ranking Restaurants A, B, C and D 
P.2. Differentiating parameters: Cuisine, Price, Ambience, QoS (Quality of Service)

Solution:
Step1: Create a hierarchical structure of the problem

Step 2: Pair-wise comparison matrix
Pair-wise comparison compares one with other in the pair. A pair is compared and based on the selection the value is assigned with the help of the following comparison scale
Compare A with BValue Xij
Extreme Favors9
Very Strong Favors7
Strongly Favors5
Slightly Favors3
Equal1
If one Extremely Favors Ai over Bj then Xij will be 9 whereas Xji will be
In this case, we will have 5 pair wise matrix.
  1. Pair wise comparison of all the parameters (X1)
  2. Pair wise comparison of hotel A, B, C and D with respect to parameter Cuisine (X2)
  3. III. Pair wise comparison of hotel A, B, C and D with respect to parameter Price (X3)
  4. IV. Pair wise comparison of hotel A, B, C and D with respect to parameter Ambience (X4)
  5. Pair wise comparison of hotel A, B, C and D with respect to parameter QoS (X5)
X1= CuisinePriceAmbienceQoS
Cuisine
1
5
7
3
Price
0.2
1
3
5
Ambience
0.1428571
0.333333
0.055556
0.142857
QoS
0.3333333
0.2
7
1


X2= ABCD
A
1
3
7
9
B
0.3333333
1
3
7
C
0.1428571
0.333333
1
3
D
0.1111111
0.142857
0.333333
1
Similarly, matrix X3, X4 and X5 will be created.

Step 3: Calculating Priority Vectors from Matrix
Priority vectors are nothing but Normalized Eigen Vectors of a matrix. One can compute Eigen vectors for a given square matrix. The method employed here is not that complex. It results in an approximate solution and is good for matrix of smaller size.
  1.  Sum Each column
  2. Divide every column with column sum
  3. Compute Average of Each Row
X1= CuisinePriceAmbienceQoSPriority Vector
Cuisine
0.5966587
0.765697
0.388889
0.328228
0.519867989
Price
0.1193317
0.153139
0.166667
0.547046
0.246545929
Ambience
0.085237
0.051046
0.055556
0.01563
0.051867213
QoS
0.1988862
0.030628
0.388889
0.109409
0.181953047

X2= ABCDPriority Vector
A
0.63
0.670213
0.617647
0.45
0.591964956
B
0.21
0.223404
0.264706
0.35
0.262027534
C
0.09
0.074468
0.088235
0.15
0.100675845
D
0.07
0.031915
0.029412
0.05
0.045331665
Similarly, priority vectors are computed for matrix X3, X4 and X5.
Step 4: Consistency Check
This is done to test whether the values in matrix are consistent or not.
For example, if A is extremely favored over B and B is slightly favored over C. This implies A should either strongly or very strongly favored over C, not the other way round. This is consistency.
Inconsistency may sabotage final result.
Hence, first Principal Eigen Value is computed. Principal Eigen value is obtained from the summation of products between each element of Eigen vector and the sum of columns of the reciprocal matrix.
Step 5: Computing the final Priority
Priority vector is calculated and consistency of every matrix is evaluated. Priority vectors are tabulated as shown below.

  ABCD 
Cuisine51.986798880.5919650.2620280.1006760.045331665X2
Price24.654592940.57390.29130.0450.093X3
Ambience5.1867212730.350.450.050.15X4
QoS18.195304690.220.480.050.25X5
       
 Composite Weight50.7419531.871637.5123739.976359637 
Composite weight of Restaurant A is calculated by summing the product of column A with Priority vector (expressed in %) of matrix X1. Similarly, composite weights are calculated for other restaurants.
Hence, Restaurant A is most preferred and C is a least preferred out of 4 Restaurants.