Keywords

1 Introduction

Real-world decision-making problems are becoming increasingly complex due to the large number of alternatives, heightened uncertainty, shorter deadlines, greater pressure, environment dynamicity, etc. [1]. Several multi-criteria decision-making (MCDM) methods have been proposed such as TOPSIS, and ELECTRE but the most used and popular one is the Analytic Hierarchy Process (AHP) method that attracts decision-makers by its simplicity and flexibility [4, 6, 9]. Despite its advantages, the AHP method is often criticized for subjectivity and inconsistency in assigning comparison weights. Indeed, the assigned weights must be readjusted until the Consistency Ratio (CR) defined by [7] is equal to or less than 10%. In addition, experts may be asked several times for pairwise comparisons, which is not practical, time-consuming, and very annoying when the number of criteria or alternative is high.

In this paper, we propose an algorithm that automatically generates the pairwise comparison weights of alternatives and fills the corresponding judgment matrices by taking as input the real values of alternatives according to a set of criteria. The main objective of the algorithm is to dispense with the tedious task of assigning weights, which is usually done manually and therefore the decision-making process time could be significantly reduced. In addition to the automation, we demonstrate through an example on hosting offer selection that the proposed algorithm constructs very consistent judgment matrices.

The remainder of this paper is organized as follows. Section 2 overviews the AHP method and its limitations. Some related work are addressed in Sect. 3. Section 4 presents and explains the proposed algorithm. Section 5 demonstrates the usefulness of the algorithm through an illustrative example. Finally, Sect. 6 concludes this paper and provides directions for future work.

2 AHP Limitations

The AHP is a method developed by Saaty [8] for resolving decision problem with multiple criteria through four major steps [7, 8]. Beyond its several advantages like the hierarchical structuring of decision problems, the AHP method relies on the experience and judgments of experts who give weights value directly. In this assessment way, the weights may be attributed with prejudices and the results may have subjectivity. Moreover, the influence of human factor in AHP method can lead to wrong decisions. Another issue may arise when experts need to be asked several times for pairwise comparisons. For instance, a decision-making problem of 4 criteria and 3 alternatives requires to ask experts 18 times. We find that this is not practical and may become very annoying when the number of criteria or alternative is high. Furthermore, the AHP method is supported by the Expert Choice tool but the comparison weights are filled manually.

3 Related Work

There exists many work in the literature that improve the AHP method but most of them focus on the consistency of judgment matrices on the grounds that it is the main weakness of the AHP method. For example, Lin et al. [6] develop an adaptive AHP approach that uses a genetic algorithm to recover the relative importance weights of the considered criteria. Benitez et al. [1] provide an optimization method for improving consistency based on the minimization of the distance between each two judgment matrices. Khatwani and Kar [5] propose an algorithm that can adjust the entries of judgment matrices iteratively until reaching a desired level of consistency.

Certain researchers also aim to improve AHP in group decision-making. For instance, two consensus models have been defined in [2] for group decision-making by using the row geometric mean prioritization method. Huang et al. [4] demonstrate that the efficiency of AHP can be significantly enhanced via an optimal expert allocation. However, although consulting several experts for evaluating criteria and alternatives may reduce the bias of personal subjectivity, it requires further calculations and a longer decision process. Furthermore, few work have been realized for improving the AHP method in other aspects. For example, Xiulin and Dawei [9] aim to simplify the calculations needed to construct the judgment matrices by adopting a scale of only three values instead of nine values. In [3], the authors present and test a model based on Multi-layer Perceptron (MLP) neural networks that is capable of completing missing values in AHP judgment matrices. However, to the best of our knowledge, there is no work in the literature that automates the generation of pairwise comparison weights in the AHP method.

4 An Automatic Comparison of Alternatives

To overcome the AHP limitations tackled previously, we propose an algorithm (Algorithm 1) that automatically generates the pairwise comparison weights and fills the judgment matrix corresponding to each criterion. The algorithm takes as input a matrix ‘TabVal’ containing the real values of alternatives according to a set of criteria. The structure of input and output matrices is presented in Fig. 1.

Fig. 1.
figure 1

Automatic generation of pairwise comparison matrices

figure a

Besides the automation, we will also show through the example of the next section that the proposed algorithm generates consistent judgment matrices (i.e. the consistency ratio is less than or equal to 10%). Indeed, judgment matrix consistency is one of the most challenging problems when using AHP [2, 9].

In order to respect the Saaty’s scale [8], we have integrated in the beginning of the algorithm a procedure called ‘Scalling’, which allows to put the real values on a scale of numbers ranging from 0 to 8. After creating an alternative comparison table and filling its diagonal with ‘1’, the ‘Compare’ procedure is iteratively called within two nested loops. This procedure takes as parameter two values characterizing two different alternatives according to a given criterion. Next, it generates the two comparison weights (one weight to compare Alternative i and Alternative j and another for the opposite) and inserts them in the ‘TabCom’ comparison matrix corresponding to the criterion in question. The instructions of ‘Scaling’ and ‘Compare’ procedures are described in the following:

figure b

5 Illustrative Example

In order to illustrate the application of our algorithm, we suppose a company that wants to host its online booking platform and it hesitates between seven dedicated servers. Hence, the company decided to apply the AHP method in order to choose the hosting offer that best meets its requirements. The characteristics of the dedicated servers proposed by each online hosting offer that the company faces are represented in Table 1 (values that are at the top of cells).

Table 1. Values of alternatives according to each criterion

In what follows, we describe how our algorithm intervenes in the AHP method for solving this MCDM problem after structuring it hierarchically.

5.1 Comparison of Alternatives

Before comparing alternatives, the algorithm scales their real values and the values of alternatives after scaling are represented in the middle in Table 1. Once the real values are scaled, the algorithm generates a comparison matrix of alternatives according to each criterion. Table 2 represents the comparison matrices generated in our example for the criterion of CPU frequency (the absolute weights are represented without parentheses and the relative weights in parentheses) and it is the same principle for the other five criteria.

Table 2. The pairwise comparisons generated according to the CPU frequency

5.2 Verification of the Comparison Consistency

We have used the Expert Choice tool to check the consistency of the pairwise comparisons and we observe in Fig. 2 that excepted the storage criterion, the consistency ratio (CR) is fairly stable and very far from the acceptable limit of 10%. This proves that our algorithm generates very consistent comparison matrices. Furthermore, we have verified through tests that the algorithm generates consistent comparison matrices (the CR varies between 1% and 3%) whatever the number of alternatives.

Fig. 2.
figure 2

The consistency ratio corresponding to each alternative comparison matrix

The last step consists calculating the final score of each alternative by multiplying the final values of alternatives (shown at the bottom of cells in Table 1) by the final weights of criteria that depend company’s requirements.

6 Conclusion and Future Work

In order to enhance the AHP method, we have proposed in this paper an algorithm that automatically generates the pairwise comparison weights of alternatives and construct a judgment matrix for each considered criterion. The algorithm takes as input the real values of alternatives according to a set of criteria and puts them on a scale of eight values so that the generated weights respect the Saaty’s scale. The applicability and usefulness of our algorithm has been demonstrated through an example on hosting offer selection. In addition to the automation, the illustrative example has also shown that the judgment matrices generated by our algorithm are very consistent.

For future work, we envisage to integrate into the proposed algorithm a procedure that quantify qualitative criteria. We also want to incorporate new methods or reuse existing ones that allow readjusting the comparison weights of judgment matrices in order to further reduce the consistency ratio. Moreover, it would also be interesting to compare the obtained consistency ratios with those of similar work. Finally, we intend to extend the Expert Choice software with the proposed algorithm through a plugin.