Keywords

1 Introduction

In the Analytic Hierarchy Process (AHP) [9] and the Analytic Network Process (ANP) [10], some problems, for example rank reversal and weight normalization, were pointed out and were improved [14, 68, 11].

In the AHP, the pairwise comparison matrix \(\varvec{A}\), which consists of n alternatives, is constructed by the decision maker. In this paper, we assume that \(\varvec{A}\) consists of complete comparisons. Through AHP, we calculate the principal eigenvalue and corresponding eigenvector of \(\varvec{A}\) using the power method. The weights of alternatives in the AHP usually use the principal eigenvector.

In this study, the weights of alternatives taking into account the consistency of comparisons are considered.

In the AHP, we usually evaluate comparisons as “consistent” or “inconsistent” based on Consistency Index (CI) values. CI is calculated using Eq. (1) based on the principal eigenvalue.

$$\begin{aligned} CI = (\lambda _{max}-n)/(n-1), \end{aligned}$$
(1)

where \(\lambda _{max}\) is the principal eigenvalue of \(\varvec{A}\). In general, if \(CI < 0.1\) then we consider \(\varvec{A}\) to be consistent and if \(CI > 0.1\) then it is considered inconsistent.

Another method of determining consistency involves using the directed graph of \(\varvec{A}\) [5]. In the pairwise comparison, if alternative “i” is better than alternative “j”, then we indicate “ i \(\rightarrow \) j”. If alternatives “i” and “j” are equally important, then we indicate “ i — j”. In directed graph of \(\varvec{A}\), there is either no cycle or there are some cycles of various length. If directed graph of \(\varvec{A}\) has no cycle, and thus is compliant with the transitive law, then \(\varvec{A}\) is considered to be consistent. If some cycles of length three are observed in the directed graph of \(\varvec{A}\), thus being compliant with the circulation law, then we consider it as inconsistent. If there is a cycle of length \(m\ (m>3)\) in the directed graph of the complete comparisons, such cycle always includes some cycles of length three. Therefore, it should be considered only the cycles of length three.

For example, two kinds of pairwise comparison are illustrated. In these cases, the simplest pairwise comparisons are carried out. These are called binary comparisons. Using parameter \(\theta \), we can construct comparison matrix \(\varvec{A}\). If alternative “i” is better than alternative “j”, then the element of \(\varvec{A}\), that is \(\varvec{a}_{ij} = \theta \), and \(\varvec{a}_{ji} = 1/\theta \). In these examples, assume that three alternatives a1, a2 and a3 are being compared.

First, the consistent comparison matrix is shown in Eq. (2).

$$\begin{aligned} \varvec{A} = \left[ \begin{array}{ccc} 1 &{} \theta &{} \theta \\ 1/\theta &{} 1 &{} \theta \\ 1/\theta &{} 1/\theta &{} 1\\ \end{array} \right] \end{aligned}$$
(2)

Calculating as \(\theta =2\), we get the principal eigenvalue \(\lambda _{max} = 3.0536\) and we get corresponding eigenvector in Eq. (3). In this study, \(\varvec{w}\) is not normalized.

$$\begin{aligned} \varvec{w} = \left[ \begin{array}{c} 1.000000\\ 0.629961\\ 0.396850\\ \end{array} \right] \end{aligned}$$
(3)

From Eq. (1), we obtain \(CI = 0.0268\). Thus \(\varvec{A}\) is considered consistent.

Another method to determine consistency is through use of the directed graph of comparison matrix. The directed graph of \(\varvec{A}\) is drawn in Fig. 1 based on Eq. (2).

Fig. 1
figure 1

Directed graph of no cycle

From Fig. 1, \(\varvec{A}\) has no cycle, and thus complies with the transitive law. Thus \(\varvec{A}\) is considered consistent.

The next example is of inconsistency. The comparison matrix is shown in Eq. (4).

$$\begin{aligned} \varvec{A} = \left[ \begin{array}{ccc} 1 &{} \theta &{} 1/\theta \\ 1/\theta &{} 1 &{} \theta \\ \theta &{} 1/\theta &{} 1\\ \end{array} \right] \end{aligned}$$
(4)

Calculating as \(\theta =2\), we get the principal eigenvalue \(\lambda _{max} = 3.5000\) and we get the corresponding eigenvector in Eq. (5).

$$\begin{aligned} \varvec{w} = \left[ \begin{array}{c} 1.000000\\ 1.000000\\ 1.000000\\ \end{array} \right] \end{aligned}$$
(5)

From Eq. (1), we obtain \(CI = 0.2500\). Thus \(\varvec{A}\) is considered inconsistent.

Figure 2 shows the directed graph of \(\varvec{A}\) based on Eq. (4).

Fig. 2
figure 2

Directed graph with one cycle

In Fig. 2, there is one cycle of length three. Thus the directed graph of \(\varvec{A}\) complies with the circulation law, \(\varvec{A}\) is considered inconsistent.

In the traditional AHP, for comparisons judged inconsistent, repeat of pairwise comparisons is usually recommended. However, a repeat of pairwise comparisons usually results in arbitrary evaluations, so it is not a good method. Therefore in this paper, for the case of inconsistent comparisons, an improvement method is proposed.

This paper consists of following the sections. Section 2 describes the proposed method. Examples of the proposed method are illustrated in Sect. 3. And finally, in Sect. 4, the results obtained through the proposed method are discussed and the study concluded.

2 The Proposed Method

This section describes the proposed method. In the case of perfect consistency of the pairwise comparison, the element of comparison matrix \(\varvec{A}\), that is \(a_{ij}\) supports Eq. (6). Where \(w_i\) is the weight of alternative ai.

$$\begin{aligned} a_{ij} =w_i/w_j \end{aligned}$$
(6)

In the perfectly consistent \(\varvec{A}\), as shown, we get \(\lambda _{max} =n\). On the other hand, in the inconsistent case, we get \(\lambda _{max}>n\).

To correct the weights of alternatives for consistency, in this study, the corrective parameter \(\alpha \) is defined in Eq. (7). \(\alpha \) means rough consistency.

$$\begin{aligned} \alpha = n/ \lambda _{max} \end{aligned}$$
(7)

Based on \(\alpha \), the corrected weight \(w'_i\) is calculated using Eq. (8). Where \(k_i\) is the number of cycles which are related to alternative ai on the directed graph of \(\varvec{A}\).

$$\begin{aligned} w'_i = \alpha ^{k_i+1} w_i \end{aligned}$$
(8)

In the case of perfect consistency, that is \(\lambda _{max} = n\), we get \(\alpha =1\) from Eq. (7). In this case \(\varvec{w}' = \varvec{w} \). If there is no cycle in the directed graph, that is, \(k_i=0\) but \(\lambda _{max}>n\), we get \(\varvec{w}' =\alpha \varvec{w} \) from Eq. (8).

The procedure of the proposed method is as follows.

  1. P1:

    Calculate the principal eigenvalue and corresponding eigenvector of the pairwise comparison matrix \(\varvec{A}\) using the power method.

  2. P2:

    Calculate the corrective parameter \(\alpha \) using Eq. (7).

  3. P3:

    Find cycles of length three on the directed graph of \(\varvec{A}\).

  4. P4:

    Count the number of cycles \(k_i\) which are related to the alternative ai.

  5. P5:

    Correct the weights using Eq. (8).

If the weights of alternatives are calculated from \(\varvec{A}\) using the geometric mean, unfortunately we do not have \(\lambda _{max}\). Therefore we need to calculate the approximate eigenvalue \(\bar{\lambda }\) using the following well known procedure.

Through the geometric mean, the weights of alternatives \(w_i\) is obtained using Eq. (9).

$$\begin{aligned} w_i = \root n \of {\prod _{j=1}^{n}a_{ij} } \end{aligned}$$
(9)

To obtain the approximate eigenvalue, we perform calculations only once for the iteration in the power method. From Eq. (10), the approximate vector \(\varvec{x}\) is obtained. Where initial vector \(\varvec{w}\) is calculated using Eq. (9).

$$\begin{aligned} \varvec{A}\varvec{w} = \varvec{x} \end{aligned}$$
(10)

If the power method is carried completion, we get \(\varvec{A}\varvec{w} = \lambda _{max}\varvec{w}\). However when once iteration, \(\varvec{x}\) in Eq. (10) is the approximate vector, then different eigenvalues \(\lambda _i \) are obtained using Eq. (11).

$$\begin{aligned} \lambda _i = x_i / w_i \end{aligned}$$
(11)

The approximate eigenvalue \(\bar{\lambda }\) is obtained by calculating the average of \(\lambda _i \) from Eq. (12).

$$\begin{aligned} \bar{\lambda } = \frac{1}{n} \sum _{i=1}^{n}{\lambda _i} \end{aligned}$$
(12)

Using \(\bar{\lambda }\) instead of \(\lambda _{max}\) in Eq. (7), \(\alpha \) is determined.

3 Examples

In this section, using the proposed method, three examples are illustrated. The directed graph in Example 1 shows no cycles, Example 2 has one cycle and Example 3 has four cycles. Applying the proposed method to these examples, each principal eigenvector is corrected.

3.1 Example 1

The first example consists of five alternatives, a1 to a5. Comparison matrix \(\varvec{A_1}\) is shown in Eq. (13).

$$\begin{aligned} \varvec{A_1} = \left[ \begin{array}{ccccc} 1 &{} 3 &{} 2 &{} 1/2 &{} 1 \\ 1/3 &{} 1 &{} 5 &{} 1/4 &{} 1/2 \\ 1/2 &{} 1/5 &{} 1 &{} 1/4 &{} 1/3 \\ 2 &{} 4 &{} 4 &{} 1 &{} 2 \\ 1 &{} 2 &{} 3 &{} 1/2 &{} 1 \\ \end{array} \right] \end{aligned}$$
(13)

Through the proposed procedure “P1”, we get \(\lambda _{max} = 5.3813\) and we get corresponding eigenvector in Eq. (14). However \(\varvec{w_1}\) is not normalized.

$$\begin{aligned} \varvec{w_1} = \left[ \begin{array}{c} 0.567933\\ 0.365566\\ 0.179137\\ 1.000000\\ 0.533289\\ \end{array} \right] \end{aligned}$$
(14)

In this example, we get \(CI = 0.0953\) from Eq. (1), however we dither over consistency because \(CI \fallingdotseq 0.1\).

Next, Fig. 3 shows the directed graph of \(\varvec{A_1}\).

Fig. 3
figure 3

Directed graph of \(\varvec{A_1}\)

Since no cycle is observed, it appears to be consistent.

Through the proposed procedure “P2”, we get \(\alpha =0.929151\) using Eq. (7). Because no cycle is observed in Fig. 3, we get \(k_i =0\) through the proposed procedures “P3” and “P4”. Through the proposed procedure “P5”, we get corrected vector \(\varvec{w_1}'\) in Eq. (15) using Eq.(8).

$$\begin{aligned} \varvec{w_1}' = \alpha \varvec{w_1} = \left[ \begin{array}{c} 0.527696\\ 0.339666\\ 0.166445\\ 0.929151\\ 0.495506\\ \end{array} \right] \end{aligned}$$
(15)

Through the proposed method, in this example, there is no change in the ordering of alternatives.

Based on the weights obtained through geometric mean using Eq. (9), we get \(\bar{\lambda }=5.368394\) using Eq. (12) and we get \(\alpha =0.931377\).

3.2 Example 2

The next example consists of five alternatives, a1 to a5. Comparison matrix \(\varvec{A_2}\) is shown in Eq. (16).

$$\begin{aligned} \varvec{A_2} = \left[ \begin{array}{ccccc} 1 &{} 1/4 &{} 1/6 &{} 1/8 &{} 1/7 \\ 4 &{} 1 &{} 1/2 &{} 1/3 &{} 1/3 \\ 6 &{} 2 &{} 1 &{} 1/2 &{} 2 \\ 8 &{} 3 &{} 2 &{} 1 &{} 1/2 \\ 7 &{} 3 &{} 1/2 &{} 2 &{} 1 \\ \end{array} \right] \end{aligned}$$
(16)

Using P1, we get \(\lambda _{max} = 5.3518\) and we get corresponding eigenvector \(\varvec{w_2}\) in Eq. (17).

$$\begin{aligned} \varvec{w_2} = \left[ \begin{array}{c} 0.116882\\ 0.363940\\ 0.902340\\ 0.995339\\ 1.000000\\ \end{array} \right] \end{aligned}$$
(17)

From Eq. (1), we get \(CI = 0.0880\) in this example. As in Example 1, we dither over consistency because \(CI \fallingdotseq 0.1\). Using P2, we get \(\alpha =0.934258\).

Next, Fig. 4 shows the directed graph of \(\varvec{A_2}\).

Fig. 4
figure 4

Directed graph of \(\varvec{A_2}\)

In Fig. 4, there is one cycle of length three, (a3-a5-a4). So it is seems to be inconsistent. Table 1 is obtained from Fig. 4.

Table 1 Cycles—alternatives in \(\varvec{A_2}\)

Through P3 and P4, we get \(k_i\) from Table 1 and through P5, we get corrected vector \(\varvec{w_2}'\) in Eq. (18) using Eq. (8).

$$\begin{aligned} \varvec{w_2}' = \left[ \begin{array}{c} \alpha ^1\times 0.116882\\ \alpha ^1\times 0.363940\\ \alpha ^2 \times 0.902340\\ \alpha ^2 \times 0.995339\\ \alpha ^2 \times 1.000000\\ \end{array} \right] = \left[ \begin{array}{c} 0.109198\\ 0.340014\\ 0.787597\\ 0.868770\\ 0.872839\\ \end{array} \right] \end{aligned}$$
(18)

The results using the proposed method, in this example, show that there is no change in the ordering of alternatives.

We get \(\bar{\lambda }=5.341311\) and \(\alpha =0.936100\).

3.3 Example 3

In the next example, the binary comparisons consists of six alternatives, a1 to a6. The comparison matrix is shown in Eq. (19).

$$\begin{aligned} \varvec{A_3} = \left[ \begin{array}{cccccc} 1 &{} \theta &{} 1/\theta &{} \theta &{} \theta &{} \theta \\ 1/\theta &{} 1 &{} \theta &{} \theta &{} \theta &{} \theta \\ \theta &{} 1/\theta &{} 1 &{} \theta &{} 1/\theta &{} \theta \\ 1/\theta &{} 1/\theta &{} 1/\theta &{} 1 &{} \theta &{} \theta \\ 1/\theta &{} 1/\theta &{} \theta &{} 1/\theta &{} 1 &{} 1/\theta \\ 1/\theta &{} 1/\theta &{} 1/\theta &{} 1/\theta &{} \theta &{} 1 \\ \end{array} \right] \end{aligned}$$
(19)

Using P1, calculating as \(\theta =2\), we get \(\lambda _{max} = 6.7587\) and we get corresponding eigenvector \(\varvec{w_3}\) in Eq. (20). Then \(CI = 0.1517\) is obtained and we consider \(\varvec{A_3}\) as inconsistent.

$$\begin{aligned} \varvec{w_3} = \left[ \begin{array}{cccccc} 1.000000\\ 0.974743\\ 0.869358\\ 0.618222\\ 0.570360\\ 0.498701\\ \end{array} \right] \end{aligned}$$
(20)

Using P2, we get \(\alpha =0.887741\).

Next, Fig. 5 shows the directed graph of \(\varvec{A_3}\).

Fig. 5
figure 5

Directed graph of \(\varvec{A_3}\)

In Fig. 5, there are four cycles of length three, (a1-a2-a3), (a1-a5-a3), (a3-a4-a5) and (a3-a6-a5), so as a result \(\varvec{A_3}\) is considered inconsistent.

Table 2 is obtained based on Fig. 5.

Table 2 Cycles—alternatives in \(\varvec{A_3}\)

Using P3 and P4, we get \(k_i\) from Table 2, and through P5, we get corrected vector \(\varvec{w_3}'\) in Eq. (21) using Eq. (8).

$$\begin{aligned} \varvec{w_3}' = \left[ \begin{array}{c} \alpha ^3 \times 1.000000\\ \alpha ^2 \times 0.974743\\ \alpha ^5 \times 0.869358\\ \alpha ^2 \times 0.618222\\ \alpha ^4 \times 0.570360\\ \alpha ^2 \times 0.498701\\ \end{array} \right] = \left[ \begin{array}{c} 0.699614\\ 0.768179\\ 0.479325\\ 0.487211\\ 0.354237\\ 0.393018\\ \end{array} \right] \end{aligned}$$
(21)

The results obtained through the proposed method demonstrate, in this example, that the order of alternatives of \(\varvec{w_3}'\) are different from \(\varvec{w_3}\). The order in \(\varvec{w_3}\) is a1 > a2> a3> a4> a5> a6, however, in \(\varvec{w_3}'\), it is a2> a1 >a4 >a3> a6 >a5.

We get \(\bar{\lambda }=6.739464\) and \(\alpha =0.890278\).

4 Conclusion

In this study, a method for correcting inconsistent pairwise comparisons in AHP was proposed. The proposed method is as follows.

  1. 1.

    Using the principal eigenvalue of pairwise comparison matrix \(\varvec{A}\), the corrective parameter \(\alpha \) was defined.

  2. 2.

    Using \(\alpha \) and the number of cycles of length three in the directed graph of \(\varvec{A}\), a corrective procedure was proposed.

Applying the proposed method to the three examples, the following results could be obtained.

  1. 1.

    In the case of inconsistencies, i.e. those represented by cycles of length three in directed graph of \(\varvec{A}\), the order of alternatives in terms of priority were changed.

  2. 2.

    The proposed method offers promising results for determining the overall evaluation of alternatives demonstrating inconsistency.

Topics for further study are as follows.

  1. 1.

    Appropriateness of the corrective parameter \(\alpha \).

  2. 2.

    The evaluation of the proposed method that includes application to other examples demonstrating inconsistency is required.