1 Introduction

The analytic hierarchy process (AHP) (Saaty, 1977, 1980) is one of the most widely used multicriteria techniques (Ho and Ma, 2018; Kułakowski, 2020). Among other reasons, this is due to (Aguarón et al., 2021): (i) its potential for addressing multiactor decisions; (ii) its capacity for measuring the actors’ consistency when eliciting their preferences; and, (iii) its ability to combine tangible and intangible aspects in formal models. The two methods traditionally employed in local (one criterion) AHP-group decision making (AHP-GDM) contexts (Saaty, 1989; Ramanathan & Ganesh, 1994; Forman & Peniwati, 1998) are the aggregation of individual judgements (AIJ) and the aggregation of individual priorities (AIP). They both use a weighted geometric mean as a synthesis method. As is well known, any mean measure is representative of the collective behaviour if the data does not present a high degree of variability (Saaty & Vargas, 2007). It is therefore necessary to measure the compatibility or proximity between the initial individual positions and the collective position; an acceptable level of incompatibility must also be guaranteed.

Assuming a local AHP-GDM context, where the Row Geometric Mean (RGM) is used for obtaining the local priorities and the geometric compatibility index (\(\textrm{GCOMPI}\)) (Escobar et al., 2015; Aguarón et al., 2019) is used for evaluating the incompatibility of the individual positions with regards to the collective position, the paper presents the seminal ideas of the theoretical framework and the semi-automatic procedure proposed by the authors for reducing the incompatibility of the collective matrix (regardless of how it was obtained). This reduction is achieved by slightly modifying, in relative terms, the judgements of the collective matrix that further improve the \(\textrm{GCOMPI}\).

The proposed framework considers relative modifications, instead of absolute, because they better reflect the perceived relevance of changes. When considering small changes, both the judgements and the derived collective priority vector will be close to the initial values, as recommended by Saaty (2003). This framework also provides closed (optimal) results in terms of the judgements that most rapidly reduce incompatibility and the range of values over which the reduction occurs. The expression of the \(\textrm{GCOMPI}\) employed in this paper for evaluating incompatibility takes the individual pairwise comparison matrices (PCMs) as the input and the priority vector associated to the collective PCM as the output. Depending on the available information (input and output), other variants of the \(\textrm{GCOMPI}\) can be seen in Aguarón et al. (2022), a work that is an extension of this present study and that, following the same theoretical framework, develops and demonstrates analogous results to those presented here, but for the other variants.

The proposed procedure does not modify the judgements of the initial individual matrices, so the continuous intervention by decision makers is not required to corroborate changes made to the judgements in the individual matrices. The paper also includes a simulation study and new mathematical tools that evidence the excellent performance of the algorithm. Finally, it should be noted that the procedure can be adapted to different situations, and therefore has enormous cognitive potential (Moreno-Jiménez & Vargas, 2018).

The paper is structured as follows: Sect. 2 outlines the background of AHP-GDM and the measurement of compatibility; Sect. 3 sets out the theoretical results necessary for the proposal; Sect. 4 describes the procedure for revising judgements and reducing incompatibility, presents a study of its performance, and it also highlights its most outstanding characteristics; Sect. 5 illustrates the procedure by means of a numerical example and justify its potential by comparing its results with those of the Precise Consistency Consensus Matrix (PCCM); and, Sect. 6 highlights the most important conclusions of the study.

2 Background

2.1 AHP in a local group decision making context

AHP methodology consists of three phases (Saaty, 1980): (a) modelling; (b) valuation; and, (c) prioritisation and synthesis. The two methods most commonly employed for obtaining the local priorities are the Eigenvector (EGV) and the Row Geometric Mean (RGM). This paper uses the RGM due to its psychological, mathematical and statistical properties and relationships (Aguarón et al., 2020, 2021).

Considering a PCM of order n as a squared matrix \(A=\left( a_{ij}\right) _{n\times n}\) with \(a_{ij}a_{ji}=1\) and \(a_{ij}>0, i,j=1,\ldots ,n\), the priority vector using the RGM (except for the normalization factor) is given by:

$$\begin{aligned} w_i=\left( \prod _{j=1}^n a_{ij}\right) ^{1/n} \end{aligned}$$
(1)

AHP allows measurement of the degree of internal coherence of the decision maker when incorporating their preferences (valuation) through the judgements elicitation process. This internal coherence is known as consistency and guarantees the quality or validity of the priority vector derived from the PCM. For the RGM, Crawford and Williams (1985) advanced an unbiased estimator of the variance of log-errors as a measure of inconsistency. Aguarón and Moreno-Jiménez (2003) referred to this measure as the Geometric Consistency Index (GCI) and established thresholds for the GCI.

AHP stands out for its potential to address multi-actor decisions. Where a number of actors evaluate a set of alternatives according to multiple conflicting criteria (tangible and intangible), Escobar and Moreno-Jiménez (2007) distinguish three situations: (i) Group Decision Making (GDM); (ii) Negotiated Decision Making (NDM); and, (iii) Systemic Decision Making (SDM). In GDM, individuals work together in pursuit of a common goal under the principle of consensus.

In the local AHP-GDM context considered in this work (Altuzarra et al., 2019), consensus refers to the acceptance of the procedure followed to aggregate the individual positions into a collective position (collective matrix of final group priority vector). If the decision makers agree, at the beginning of the Consensus Reaching Process (CRP), on how to obtain the collective position and no intervention is made during the process (AHP-GDM), it is understood that there is an implicit acceptance of the result. If the decision makers directly and continuously participate in obtaining the collective position (AHP-NDM), it is understood that there is an explicit acceptance of that position.

Let \({\mathcal {A}}=\left\{ A^{(k)}=\left( a_{ij}^{(k)}\right) _{n\times n}, k=1,\ldots ,d\right\} \) be a family of PCMs provided, respectively, by d decision makers with weights \(\alpha _k\) \(\left( \sum _{k=1}^{d} \alpha _k =1\right) \), and \(w^{(k)}\), \(k=1,\ldots ,d\), the priority vectors derived from these matrices using a prioritisation method. The two methods traditionally used in AHP-GDM are the AIP and the AIJ (Aguarón et al., 2019). With AIP, once the individual priorities are obtained, the priority vector for the group is calculated as the normalised (distributive mode) weighted geometric mean of the individual priority vectors, component by component:

$$\begin{aligned} w^{G|P}_i=\prod _{k=1}^d \left( w_{i}^{(k)}\right) ^{\alpha _k} i=1,\ldots ,n \end{aligned}$$
(2)

With AIJ, a collective matrix \(A^G=\left( a_{ij}^G\right) _{n\times n}\) is constructed first, where each entry is obtained as \(a_{ij}^G=\prod _{k=1}^d \left( a_{ij}^{(k)}\right) ^{\alpha _{k}}\). Then, the priority vector \(w^{G|J}\) is calculated following a prioritisation method. When the priorities are obtained by means of RGM, both AIJ and AIP provide (Barzilai & Golany, 1994; Escobar et al., 2004) the same collective priority vector (\(w^{G|P}_i =w_i^{G|J}\)), where

$$\begin{aligned} w_i^{G|J}=\left( \prod _{j=1}^n a_{ij}^G\right) ^{1/n} i=1,\ldots ,n \end{aligned}$$
(3)

2.2 Compatibility in AHP-GDM

Irrespective of the method employed to obtain the collective matrix (voting, consensus on the judgements, aggregation, AIJ, AIP, etc.), this matrix cannot be representative of the group position if the individual positions are not homogeneous or their incompatibility is high (Saaty & Vargas, 2007; Scala et al., 2016). It is then necessary to evaluate the compatibility (an objective distance measure) or the agreement (a subjective acceptance that requires personal intervention) between the individual positions, \(A^{(k)}=\left( a_{ij}^{(k)}\right) \) or \(w^{(k)} = \left( w_1^{(k)},\ldots ,w_n^{(k)}\right) \), \(k=1,\ldots ,d\), and the collective position, \(w^G = \left( w_1^G,\ldots ,w_n^G\right) \). If the group’s internal coherence (compatibility or agreement) in choosing its collective position is not reached, the suitability of the aggregation followed is not guaranteed. In this case, the different homogeneous positions of the actors must be identified in order to initiate posterior negotiation processes to achieve final decisions that are as representative as possible (Altuzarra et al., 2019). In addition, from a cognitive perspective (Moreno-Jiménez & Vargas, 2018), the arguments that justify the different positions must be provided.

It is therefore necessary to establish (define and characterise) compatibility measures, procedures for their improvement and thresholds that allow validation of the use of collective priorities that represent the individual priorities. Garuti (2020) defines compatibility as the sharing of similar value systems. Compatibility is generally calculated without the personal intervention of the individuals with the exception of the emission of the initial judgements of the PCMs. The published literature (Lipovetsky, 2020; Escobar et al., 2015) describes ordinal and cardinal tools for the assessment of compatibility. Ordinal tools (e.g. ordinal correlation coefficients) work with rankings of the alternatives, but some authors (Garuti, 2012) do not recommend their use in the context of AHP (weighted spaces). Cardinal tools include the S-compatibility (Saaty, 1996), the G-compatibility (Garuti, 2007), the coefficient of multiple determination \(R^2\) that is commonly used in regression analysis (Lipovetsky, 2009); and, the Geometric Compatibility Index (\(\textrm{GCOMPI}\)).

Dong et al. (2010), Escobar et al. (2015) and Aguarón et al. (2016) advanced initial proposals of the \(\textrm{GCOMPI}\) for the evaluation of the compatibility of individual positions with respect of the collective position. As can be seen in Sect. 3, the expression considered for the \(\textrm{GCOMPI}\) in a local context (one criterion) combines the individual PCMs and the collective priority vector. The choice of this expression of the \(\textrm{GCOMPI}\) is justified by the fact that it measures the compatibility between the input of the decision makers (individual PCMs) and the output of the group (collective priority vector) used to rank the alternatives and make decisions.

Different approaches have been followed for studying the improvement of incompatibility. They differ with regards to the modification considered for the judgements (in absolute or relative terms), or with regards to the degree of the participation of the actors (automatic, semi-automatic, personal). Most of the procedures in the literature for reducing inconsistency (Dadkhah & Zahedi, 1993) and incompatibility (Dong et al., 2010; Grošelj et al., 2015) include modifications in absolute terms. However, the perception of the importance an actor gives to a change that can lead to consensus positions, that is to say, the acceptability or unacceptability of a modification, is better captured in relative, rather than absolute, terms. In absolute terms, the changes in judgements from 2 to 3 and from 8 to 9 are the same, but the perception of their importance is not; in the first case, the relative change is 50%, in the second, it is just 12.5%.

Modifications in relative terms are in line with the suggestions of Kahneman and Tversky (1979): “the preferences, associated with the same physical magnitude, are relative rather than absolute, depending on the situation of gain or loss, and also on the point of departure” and Grzybowski (2016): “small errors (in terms of absolute values) may significantly change the final rankings if they are big in relation to the true value”. In addition, when working in relative terms, the absolute values of the modifications allowed by each decision maker for each judgement, alternative or criterion (bounded confidences) do not have to be provided. These two arguments: (i) suitability to perceive the importance of changes and (ii) lower transaction costs, validate the use of relative changes.

The maximum relative variation allowed for the modification of any judgement is given by the parameter known as permissibility (Aguarón et al., 2021). It considers the attitudes or flexibility of the actors in consensus reaching. This allows them to adapt their initial positions (individual or collective), facilitating the establishment of consensus paths for reaching a more satisfactory final agreement (Altuzarra et al., 2010).

Regarding the degree of actors’ participation, automatic procedures are not appropriate in GDM unless they are used to simulate and explore scenarios. CRPs require the personal intervention of the actors, either at the beginning of the process, by setting its degree of flexibility, or throughout, in an interactive manner. The procedure put forward in this current work is semi-automatic; the actors provide at the beginning of the CRP their initial PCMs and establish the permissibility level. However, the procedure can be easily adapted to allow a more personal intervention of the actors in the agreement or consensus searching (interactive procedure).

3 Theoretical results

This section presents the theoretical results (see Appendix A for proofs) that are necessary to develop the procedure to reduce the incompatibility (Sect. 4). In what follows, all the matrices (PCMs) and the priority vectors are of order n, and \(w^G\) will refer to the priority vector obtained either applying AIJ or AIP to the matrices of a family \({\mathcal {A}}\) when using the RGM as the prioritisation method (\(w^G = w^{G|J} = w^{G|P}\)).

Definition 1

Let \(A=\left( a_{ij}\right) \) be a PCM and \(u=\left( u_i\right) \) be a priority vector. The Geometric Compatibility Index between A and u is defined as

$$\begin{aligned} \textrm{GCOMPI}(A, u)=\frac{1}{(n-1)(n-2)}\sum _{i, j} \log ^2 a_{ij}u_j/u_i \end{aligned}$$
(4)

Definition 2

Let \({\mathcal {A}}=\left\{ A^{(k)}\right\} \) be a family of PCMs and \(u=\left( u_i\right) \) be a priority vector. The Geometric Compatibility Index between family \({\mathcal {A}}\) and u is defined as

$$\begin{aligned} \textrm{GCOMPI}\left( {\mathcal {A}}, u\right)= & {} \sum _{k=1}^d \alpha _k \textrm{GCOMPI}(A^{(k)}, u)\nonumber \\ {}= & {} \frac{1}{(n-1)(n-2)}\sum _{k=1}^d \left( \alpha _k\sum _{i, j} \log ^2 a_{ij}^{(k)}u_j/u_i\right) \end{aligned}$$
(5)

Remark 1

If A is a PCM and w is its priority vector obtained with the RGM method:

$$\begin{aligned} \min _u \textrm{GCOMPI}(A, u) = \textrm{GCOMPI}(A, w) = GCI(A) \end{aligned}$$
(6)

where GCI is the Geometric Consistency Index (Aguarón & Moreno-Jiménez, 2003).

Remark 2

If \({\mathcal {A}}=\left\{ A^{(k)}\right\} \) is a family of PCMs, it holds that

$$\begin{aligned} \min _u \textrm{GCOMPI}({\mathcal {A}}, u) = \textrm{GCOMPI}({\mathcal {A}}, w^{G}) \end{aligned}$$
(7)

Remark 3

Let \(w=\left( w_1,\ldots , w_n\right) \) be a priority vector. It is obvious that

$$\begin{aligned} \min _A \textrm{GCOMPI}(A, w) = \textrm{GCOMPI}(W, w) = 0 \end{aligned}$$
(8)

where \(W=\left( w_{ij}\right) =\left( w_i/w_j\right) \).

Theorem 1

Let \(A=\left( a_{ij}\right) \) and \(P=\left( p_{ij}\right) \) be two PCMs and \(w=\left( w_i\right) \) and \(v=\left( v_i\right) \) be the corresponding priority vectors associated to A and P obtained with the RGM method. It holds that

$$\begin{aligned} \frac{\partial \textrm{GCOMPI}(A, v)}{\partial p_{rs}}= \frac{4}{(n-1)(n-2)}\frac{1}{p_{rs}} \log \frac{v_r/v_s}{w_r/w_s} \end{aligned}$$
(9)

Theorem 2

Let \({\mathcal {A}}=\left\{ A^{(k)}\right\} \) be a family of PCMs, \(P=\left( p_{ij}\right) \) be a collective PCM and \(v=\left( v_i\right) \) be the corresponding priority vector associated to P obtained with the RGM method. It holds that

$$\begin{aligned} \frac{\partial \textrm{GCOMPI}({\mathcal {A}}, v)}{\partial p_{rs}}= \frac{4}{(n-1)(n-2)}\frac{1}{p_{rs}} \log \frac{v_r/v_s}{w^{G}_r/w^{G}_s} \end{aligned}$$
(10)

From the above result, it is obvious that, when \(v=w^{G}\), all partial derivatives cancel out. This situation corresponds to a critical point and it is easy to see that it is a minimum, consistent with Remark 2. Therefore, any PCM whose priority vector obtained by the RGM method coincides with \(w^{G}\) will provide the minimum value of the \(\textrm{GCOMPI}\).

If the judgement \(p_{rs}\) is modified with \(p'_{rs}\) as its new value, \(t_{rs}=p'_{rs}/p_{rs}\) denotes the relative variation of this judgement, \(P'=\left( p'_{ij}\right) \) is the modified PCM and \(v'=\left( v'_i\right) \) the associated priority vector obtained with the RGM. The modified values of the \(\textrm{GCOMPI}\) are given by the following theorems.

Theorem 3

In the same conditions of Theorem 1, it holds that

$$\begin{aligned} \textrm{GCOMPI}(A, v')= \textrm{GCOMPI}(A, v) + \frac{4}{(n-1)(n-2)}\log t_{rs} \left( \frac{\log t_{rs}}{n} +\log \frac{v_r/v_s}{w_r/w_s}\right) \nonumber \\ \end{aligned}$$
(11)

Theorem 4

In the same conditions of Theorem 2, it holds that

$$\begin{aligned} \textrm{GCOMPI}({\mathcal {A}}, v')= \textrm{GCOMPI}({\mathcal {A}}, v) + \frac{4}{(n-1)(n-2)}\log t_{rs} \left( \frac{\log t_{rs}}{n} +\log \frac{v_r/v_s}{w_r^{G}/w_s^{G}}\right) \nonumber \\ \end{aligned}$$
(12)

The following corollaries provide the partial derivatives of the \(\textrm{GCOMPI}\) with respect to the relative variation of a judgement (\(t_{rs}\)). When small variations are considered, the value of \(t_{rs}\) moves around 1, so the values of the derivatives at that point are also presented.

Corollary 1

In the same conditions of Theorem 1, it is easy to prove that

$$\begin{aligned} \frac{\partial \textrm{GCOMPI}(A, v)}{\partial t_{rs}}= \frac{4}{(n-1)(n-2)}\frac{1}{t_{rs}} \left( \frac{2\log t_{rs}}{n}+ \log \frac{v_r/v_s}{w_r/w_s}\right) \end{aligned}$$
(13)
$$\begin{aligned} \left. \frac{\partial \textrm{GCOMPI}(A,v)}{\partial t_{rs}}\right| _{t_{rs}=1}= \frac{4}{(n-1)(n-2)} \log \frac{v_r/v_s}{w_r/w_s} \end{aligned}$$
(14)

It follows that the judgement \(p_{rs}\) that most decreases the \(\textrm{GCOMPI}\) is the judgement for which there is a greater relative difference between ratios \(v_r/v_s\) and \(w_r/w_s\). This seems quite logical; if \(v_r/v_s>w_r/w_s\) it is necessary to decrease \(p_{rs}\), and increase it otherwise.

Corollary 2

In the same conditions of Theorem 2, it is easy to prove that

$$\begin{aligned} \frac{\partial \textrm{GCOMPI}({\mathcal {A}}, v)}{\partial t_{rs}}= \frac{4}{(n-1)(n-2)}\frac{1}{t_{rs}} \left( \frac{2\log t_{rs}}{n}+ \log \frac{v_r/v_s}{w^{G}_r/w^{G}_s}\right) \end{aligned}$$
(15)
$$\begin{aligned} \left. \frac{\partial \textrm{GCOMPI}({\mathcal {A}}, v)}{\partial t_{rs}}\right| _{t_{rs}=1}= \frac{4}{(n-1)(n-2)} \log \frac{v_r/v_s}{w^{G}_r/w^{G}_s} \end{aligned}$$
(16)

In the case of a family of matrices, the judgement \(p_{rs}\) that most decreases the \(\textrm{GCOMPI}\) is also the one for which there is a greater relative difference between the ratios \(v_r/v_s\) and \(w^{G}_r/w^{G}_s\).

Corollary 3

In the same conditions of Theorem 1, the relative variation of judgement \(p_{rs}\) that produces the greatest decrease of \(\textrm{GCOMPI}(A,v)\) is

$$\begin{aligned} t^*_{rs}=p_{rs}'/p_{rs}=\left( \frac{w_r/w_s}{v_r/v_s}\right) ^{n/2} \end{aligned}$$
(17)

and the variation of the \(\textrm{GCOMPI}(A,v)\) is

$$\begin{aligned} \frac{-n}{(n-1)(n-2)}\log ^2 \frac{w_r/w_s}{v_r/v_s} \end{aligned}$$
(18)

Corollary 4

In the same conditions of Theorem 2, the relative variation of judgement \(p_{rs}\) that produces the greatest decrease of \(\textrm{GCOMPI}({\mathcal {A}}, v)\) is

$$\begin{aligned} t^*_{rs}=p_{rs}'/p_{rs}=\left( \frac{w^{G}_r/w^{G}_s}{v_r/v_s}\right) ^{n/2} \end{aligned}$$
(19)

and the variation of the \(\textrm{GCOMPI}({\mathcal {A}}, v)\) is

$$\begin{aligned} \frac{-n}{(n-1)(n-2)}\log ^2 \frac{w^{G}_r/w^{G}_s}{v_r/v_s} \end{aligned}$$
(20)

From the above corollaries, it follows that the the judgement identified in (14) or (16) is that which most rapidly decreases the value of the \(\textrm{GCOMPI}\); it is also the one that allows the greatest reduction in absolute terms.

Remark 4

In contrast to absolute variations, (9) and (10), the gradient associated with the variation in relative terms of the judgement \(p_{rs}\) does not depend on \(p_{rs}\); it is given exclusively in terms of the log quadratic discrepancies between the ratios of the elements of the priority vector associated with the collective matrix (P) and that obtained for the family \({\mathcal {A}}\) (\(\log ^2 \frac{w^{G}_r/w^{G}_s}{v_r/v_s}\)). This expression will be used to select the judgements that must be considered for reducing the \(\textrm{GCOMPI}\).

4 Procedure

The results from the previous section give the judgement of the collective matrix that will most rapidly reduce incompatibility and determine its optimal relative variation. The iterative modifications of the judgements of the collective matrix (P) bring it closer to a matrix (\(P'\)) with the same priority vector (\(v'\)) as the AIJ matrix (\(w^{G}\)), both vectors obtained with the RGM method. Note that this last vector is the one that minimises the weighted log-quadratic deviation between the individual matrices and a priority vector (see Remark 2).

The value that provides the maximum possible reduction of inconsistency could be far from the initial value in the collective matrix (Khatwani and Kar, 2017). Limiting the intensity of the modifications is a logic criterion to guarantee the validity of the improvement procedure (Saaty, 2003). A parameter of permissibility (Aguarón et al., 2021), \(\rho \), is employed to avoid major modifications of the judgements of the collective matrix in the process of reducing incompatibility. This parameter is incorporated by multiplying the judgements by the factor \(1\pm \rho \) and indicates the maximum relative variation permitted for the modifications of any judgement, and is established by the decision makers or by the facilitator (if there is one).

4.1 The AEM-COM algorithm

Using the RGM as the prioritisation method and the \(\textrm{GCOMPI}\) as the incompatibility measure, this section describes a semi-automatic procedure for improving (reducing) the incompatibility between the actors involved in the decision making process and the collective position (matrix) obtained by any method. The procedure considers variations in judgements in relative terms, limited by the permissibility. Expression (16) is used to select the judgement that will be considered for each of the iterations. Expression (19) provides the limit of the variation for this judgment. A modification beyond this value will produce an increase in the \(\textrm{GCOMPI}\).

In order to apply this semi-automatic procedure, it is necessary to provide the weights of the decision makers (\(\alpha _k\)), their individual pairwise comparison matrices (\(A^{(k)}\)), the collective matrix (P) and the parameter of permissibility (\(\rho \)). Regarding the collective matrix, the decision makers agree on P using an existing AHP-GDM methodology. This initial matrix is assumed to have an acceptable level of inconsistency which ensures the validity of the collective priority vector that is derived from it.

figure a

If \(\log q_{rs}<0\) (Step 4a), it is necessary to increase \(p_{rs}\) (\(t_{rs} \ge 1\)) in order to reduce the \(\textrm{GCOMPI}\). In this case, the maximum relative increase delimited by the permissibility and the range of improvement is \(t_{rs}=\min \left\{ 1+\rho , t^*_{rs} \right\} \). If \(\log q_{rs}>0\) (Step 4b), the value of \(p_{rs}\) should be reduced (\(t_{rs} \le 1\)). In this situation, permissibility is incorporated as \(\frac{1}{1+\rho }\) to keep the property of reciprocity.

If working with judgements between 1/9 and 9, as is usual in the context of AHP (Saaty, 1980), the new values \(p'_{rs}\) in Step 4 are limited to the continuous interval [1/9,9]. In what follows, only judgements that fall within this range are considered.

4.2 Performance of the algorithm

It can be verified that, whenever there are judgements that meet the required conditions, the algorithm, by construction, takes \(n(n-1)/2\) iterations and reduces the initial \(\textrm{GCOMPI}\). Obviously, small values of permissibility will produce small modifications in the \(\textrm{GCOMPI}\).

A simulation study was undertaken to determine the efficiency of the algorithm by measuring the improvement reached for the \(\textrm{GCOMPI}\) in different situations. Efficiency is defined as the reduction achieved with respect to the maximum possible reduction, indicating the improvement in \(\textrm{GCOMPI}\):

$$\begin{aligned} \text{ Efficiency } \text{(AEM-COM) } = \frac{\textrm{GCOMPI}_0-\textrm{GCOMPI}_f}{\textrm{GCOMPI}_0-\textrm{GCOMPI}_{min}} \end{aligned}$$
(21)

where \(\textrm{GCOMPI}_0\) refers to the initial \(\textrm{GCOMPI}\) = \(\textrm{GCOMPI}({\mathcal {A}}, v)\), \(\textrm{GCOMPI}_f\) refers to the final \(\textrm{GCOMPI}\) = \(\textrm{GCOMPI}({\mathcal {A}}, v')\) and \(\textrm{GCOMPI}_{min}\) refers to the minimum \(\textrm{GCOMPI}\) = \(\textrm{GCOMPI}({\mathcal {A}}, w^{G})\).

For the simulation, families of matrices were generated: the first step was to randomly generate a priority vector, u. The vector was randomly perturbed, giving different priority vectors for each decision maker, \(u^{(k)}\). The vectors are not too far away from u, but they are sufficiently different from each other for different rankings to exist. From these priority vectors, the corresponding consistent matrices \(U^{(k)} =\left( u^{(k)}_i/u^{(k)}_j\right) \) are obtained; these matrices are randomly perturbed (using a lognormal distribution) and then corrected so that the priority vector of \(A^{(k)}\) is \(u^{(k)}\). The AEM-COM algorithm is applied to the matrices which all have same weights. Note that, without loss of generality, the PCCM (Escobar et al., 2015; Aguarón et al., 2016) is used as the collective matrix. The behaviour of our procedure can therefore be compared with that of the PCCM methodology employed for AHP-GDM.

As previously explained, 10,000 families of matrices were generated for each combination of d (3 to 6) and n (3 to 9). The proposed algorithm was applied to each of them for different permissibility values. The efficiency of the algorithm was calculated for each situation. Table 1 shows the average efficiency for 3 decision makers (\(d=3\)) and different values of n and \(\rho \). It can be observed that the greater the permissibility, the greater the average efficiency, for any size of the matrix (n). Permissibility of 5%, which is clearly acceptable, is sufficient to achieve an average efficiency improvement of more than 40% for any given n. For permissibility levels greater than 20%, the average efficiency is higher than 91.8%. In the particular case considered in the numerical example presented in Sect. 5 (\(n=5\) and \(\rho = 15\%\)), average efficiency is 83.9%.

Table 1 Average efficiency (%) of the algorithm for different values of n and \(\rho \) (\(d=3\))

Table 2 shows the percentage of times that different levels of efficiency are reached for \(d=3\) and \(n=5\), depending on the value of \(\rho \). It can be seen that an efficiency of 10% (adequate in most cases) is achieved for any value of permissibility considered in this table. It can also be observed that a level of efficiency of 60% is achieved 95.8% of the time when \(\rho =15\%\). With the same permissibility, efficiency of 50% was possible 99.6% of the time. For \(\rho =50\%\), the collective matrix resulting from the AEM-COM algorithm has a priority vector that almost coincides with the \(w^{G}\). In general, the greater the permissibility, the greater is the likelihood of achieving a given efficiency.

Table 2 Percentage of times different levels of efficiency are reached for different values of \(\rho \) (\(d=3\) y \(n=5\))

Similar results to those presented in Tables 1 and 2 were obtained for the other values of d and n (they have not been included for reasons of space). The results of the simulation study also show that the average differences between the initial and final priorities do not exceed 10% for all combinations of d, n and \(\rho \) values.

The computational complexity of the algorithm was \(o(n^3)\) where n is the size of the matrix. Given the values of n that are usually considered in AHP (from 3 to 9), it is clear that the algorithm is quite efficient. The algorithm has been applied to 1,000 different problems with 9 decision makers (\(d=9\)) and 9 alternatives (\(n = 9\)), obtaining a total execution time of 0.88 s, using an Intel i3 computer.

In short, the new procedure (AEM-COM) for improving the incompatibility measured by the \(\textrm{GCOMPI}\) considers relative changes in the judgements of the collective matrix (individual matrices are not modified). It is computationally efficient, easy to implement and can be adapted to fit specific interests; furthermore, it provides closed results and bounds relative changes to guarantee slight modifications in the collective matrix and its priority vector, as recommended by Saaty (2003).

5 Numerical example

The procedure is illustrated with an example from the published literature (Moreno-Jiménez et al., 2009; Escobar et al., 2015; Aguarón et al., 2016; Turón et al., 2019). The problem has \(n=5\) alternatives and \(d=3\) decision makers with weights \(\alpha _1=5/11\); \(\alpha _2=4/11\); and \(\alpha _3=2/11\). The individual pairwise comparison matrices are:

$$\begin{aligned}{} & {} A^{(1)}= \left( \begin{array}{ccccc} 1 &{} \quad 3 &{} \quad 5 &{} \quad 8 &{} \quad 6 \\ &{} \quad 1 &{} \quad 3 &{} \quad 5 &{} \quad 4 \\ &{}\quad &{} \quad 1 &{} \quad 3 &{} \quad 2 \\ &{} \quad &{} \quad &{} \quad 1 &{} \quad 1/3 \\ &{} \quad &{} \quad &{} \quad &{} \quad 1 \end{array}\right) ,\ A^{(2)}= \left( \begin{array}{ccccc} 1 &{} \quad 3 &{} \quad 7 &{} \quad 9 &{} \quad 5 \\ &{} \quad 1 &{} \quad 3 &{} \quad 7 &{} \quad 1 \\ &{} \quad &{} \quad 1 &{} \quad 5 &{} \quad 1/5 \\ &{} \quad &{} \quad &{} \quad 1 &{} \quad 1/5 \\ &{} \quad &{} \quad &{} \quad &{} \quad 1 \end{array}\right) ,\ A^{(3)}= \left( \begin{array}{ccccc} 1 &{} \quad 5 &{} \quad 7 &{} \quad 7 &{} \quad 5 \\ &{} 1 \quad &{} 1 \quad &{} 5 \quad &{} 1 \\ &{} \quad &{} 1 \quad &{} 5 \quad &{} 1/3 \\ &{} \quad &{} \quad &{} \quad 1 &{} \quad 1/5 \\ &{} \quad &{} \quad &{} \quad &{} \quad 1 \end{array}\right) \end{aligned}$$

The first of the following collective matrices was obtained using AIJ, the second corresponds to the PCCM which was determined by means of the procedure described in Escobar et al. (2015) and Aguarón et al. (2016):

$$\begin{aligned} AIJ= \left( \begin{array}{ccccc} 1 &{} 3.292 &{} 6.007 &{} 8.150 &{} 5.432 \\ &{} 1 &{} 2.457 &{} 5.651 &{} 1.878 \\ &{} &{} 1 &{} 3.964 &{} 1/1.600 \\ &{} &{} &{} 1 &{} 1/3.964 \\ &{} &{} &{} &{} 1 \end{array}\right) ,\ PCCM= \left( \begin{array}{ccccc} 1 &{} 2.049 &{} 5.510 &{} 9.000 &{} 3.165 \\ &{} 1 &{} 3.000 &{} 6.082 &{} 1.739 \\ &{} &{} 1 &{} 2.709 &{} 1/1.467 \\ &{} &{} &{} 1 &{} 1/2.845 \\ &{} &{} &{} &{} 1 \end{array}\right) \end{aligned}$$

In general, the collective matrix P can be obtained by any of the procedures allowed for AHP-GDM. In this case, the proposed algorithm (AEM-COM) is applied to improve the incompatibility of the second of the two previous matrices (\(P=PCCM\)). This collective matrix ensures that the judgements are within the consistency stability intervals for all the actors (Aguarón et al., 2003).

Table 3 details the priorities (obtained with the RGM method) of the three individual and the two collective matrices. It also shows the consistency (GCI) and the compatibility (\(\textrm{GCOMPI}\)) indicators for all the matrices. The \(\textrm{GCOMPI}\) values in the first 3 rows measure the incompatibility between the individual matrices and the priority vector (v) associated to the collective matrix P. The \(\textrm{GCOMPI}\) values in the last 2 rows measure the incompatibility between the family \({\mathcal {A}}\) and vectors \(w^G\) and v, respectively.

Table 3 Priorities, consistency and compatibility for the individual and collective positions

As can be seen in Table 3, the \(\textrm{GCOMPI}\) value for the collective matrix P is 0.529. The application of the AEM-COM algorithm aims to reduce this value, knowing that the minimum value that can be reached with this indicator for family \({\mathcal {A}}\) is \(\textrm{GCOMPI}({\mathcal {A}}, w^{G})\) = 0.464 (Remark 2).

In this illustrative example, it is assumed that the decision makers (or the facilitator) have established a permissibility value \(\rho =15\%\) (they would accept the modification of some judgements of the collective matrix up to 15% of their initial values), and that the judgements are limited to the continuous interval [1/9, 9].

From the priority vectors associated to the P matrix (v) and to the AIJ matrix (\(w^{G}\)), the ratio matrix \(Q=(q_{ij})= \left( \frac{v_i/v_j}{w^{G}_i/w^{G}_j}\right) \) and the associated matrix \(\log Q\) that contains the natural logarithms of the \(q_{ij}\) are obtained to determine the order of entry of the judgements in the algorithm:

$$\begin{aligned}{} & {} Q = \left( \begin{array}{ccccc} 1.000 &{} \quad 0.716 &{} \quad 0.888 &{} \quad 0.735 &{} \quad 0.787\\ 1.397 &{} \quad 1.000 &{} \quad 1.241 &{} \quad 1.026 &{} \quad 1.099\\ 1.126 &{} \quad 0.806 &{} \quad 1.000 &{} \quad 0.827 &{} \quad 0.886\\ 1.361 &{} \quad 0.974 &{} \quad 1.209 &{} \quad 1.000 &{} \quad 1.071\\ 1.271 &{} \quad 0.910 &{} \quad 1.129 &{} \quad 0.934 &{} \quad 1.000 \end{array}\right) ,\\{} & {} \log Q= \left( \begin{array}{ccccc} &{} \quad -0.334 &{} \quad -0.119 &{} \quad -0.308 &{} \quad -0.240 \\ &{} \quad &{} \quad +0.216 &{} \quad +0.026 &{} \quad +0.094 \\ &{} \quad &{} \quad &{} \quad -0.189 &{} \quad -0.121 \\ &{} \quad &{} \quad &{} \quad &{} \quad +0.068 \\ &{} \quad &{} \quad &{} \quad &{} \quad \end{array}\right) \end{aligned}$$

The maximum value, in absolute terms, corresponds to the judgement \((r',s')=(1, 2)\). As \(p_{12}=2.049>1\), this judgement is directly considered, and not its inverse, i.e, \((r,s) = (1, 2)\). This is the judgement that would most rapidly decrease the value of the \(\textrm{GCOMPI}\).

Since \(\log q_{12} = -0.334 < 0\), the judgement must be increased. The optimal relative variation is determined by \(t^*_{12}=q_{12}^{-n/2} = 2.307\). This would mean an increase of 130.7%, greater than a permissibility level of 15%, so the relative variation of the judgement will be determined by the permissibility:

$$\begin{aligned} t_{12}=\min \left\{ 1+\rho , t^*_{12} \right\} = \min \left\{ 1.15, 2.307 \right\} = 1.15 \end{aligned}$$

The new value of the judgement is \(p'_{12}=1.15\times p_{12} = 2.356\) (then, \(p'_{21}= 1/2.356\)), and the associated incompatibility measure of matrix \(P'\) for the first iteration is \(\textrm{GCOMPI}'=0.5146\).

Table 4 summarises the iterations of the procedure. In the second iteration, the selected judgement (1, 4) is not modified because its new value would be outside the range [1/9, 9]. In this example, the modifications of the judgements in the rest of the iterations (except the last one) have been determined by the permissibility (15%) and not by the value that provides the maximum possible reduction of inconsistency (\(t^*_{rs}\)); the average relative change of the judgements is 11.26%.

Table 4 Information on the iterations of the procedure for \(\rho =15\%\)

After considering all the judgements (10 iterations) the final pairwise comparison matrix, \(P'\), its associated priority vector, \(v'\), and the corresponding values of the GCI and the \(\textrm{GCOMPI}\) are:

$$\begin{aligned}{} & {} P'= \left( \begin{array}{ccccc} 1.000 &{} \quad 2.356 &{} \quad 6.336 &{} \quad 9.000 &{} \quad 3.640\\ 0.424 &{} \quad 1.000 &{} \quad 2.609 &{} \quad 6.110 &{} \quad 1.512\\ 0.158 &{} \quad 0.383 &{} \quad 1.000 &{} \quad 3.115 &{} \quad 0.784\\ 0.111 &{} \quad 0.164 &{} \quad 0.321 &{} \quad 1.000 &{} \quad 0.306\\ 0.275 &{} \quad 0.661 &{} \quad 1.275 &{} \quad 3.272 &{} \quad 1.000\\ \end{array}\right) \\{} & {} v'=(0.496, 0.229, 0.098, 0.041, 0.136) \quad GCI(P') = 0.0423 \quad \textrm{GCOMPI}({\mathcal {A}}, v') = 0.4814 \end{aligned}$$

As the algorithm advances it is possible to measure the improvements achieved for the \(\textrm{GCOMPI}\) and to obtain measurements of the proximity between the initial and final priority vectors, v and \(v'\) (see Table 5). Efficiency, defined in expression (21), can be adapted to reflect how the \(\textrm{GCOMPI}\) improves at each iteration:

$$\begin{aligned} \textrm{Efficiency}_i = \frac{\textrm{GCOMPI}_0-\textrm{GCOMPI}_i}{\textrm{GCOMPI}_0-\textrm{GCOMPI}_{min}} \end{aligned}$$

where \(\textrm{GCOMPI}_i\) refers to the \(\textrm{GCOMPI}\) at iteration i.

The maximum differences in relative terms and the value of the G-compatibility index (Garuti, 2007; Garuti & Salomon, 2012) are calculated to measure the distances between the priority vectors. The vectors are said to be highly compatible when the value of the latter indicator is above 0.90.

$$\begin{aligned} \text{ Max. } \text{ Rel. } \text{ Dif.( }x,x'\text{) } = \max _i \left| \frac{x'_i-x_i}{x_i}\right| *100\qquad G(x,y)=\sum _{i=1}^n \frac{\min \left( x_i, y_i\right) }{\max \left( x_i, y_i\right) }\frac{x_i+y_i}{2} \end{aligned}$$
Table 5 Evolution of the \(\textrm{GCOMPI}\) efficiency and measures of proximity between priority vectors (\(\rho =15\%\))

Table 5 shows that the application of the proposed procedure significantly reduces incompatibility, resulting in an efficiency rate of 73.1% (percentage of the maximum possible reduction) with slight modifications of the collective priorities (Max. Rel. Dif. (\(v,v'\)) = 10.1% and G(\(v,v'\)) = 0.938). This demonstrates that the new approach has significantly improved the incompatibility of the decision makers regarding the collective position obtained with the PCCM methodology. If, instead of completing all the iterations of the algorithm, a specific reduction in \(\textrm{GCOMPI}\) had been set, e.g. 60%, the algorithm would have been finished on the 6th iteration, when the target had been reached (with Max. Rel. Dif. (\(v,v'\)) = 7.7% and G(\(v,v'\)) = 0.944). With regards to the relative changes of the collective priority vectors, the maximum differences during the process remain below 10.2%. The G values indicate that for all the iterations, the initial and the updated priority vectors are highly compatible (\(G>0.9\)). In particular, the G value between the initial and the final priority vectors is \(G(v,v')=0.938\). In terms of the compatibility of the collective vectors (v and \(v'\)) with \(w^{G}\), the procedure has made it possible to move from a compatible vector v\(G(v,w^{G})=0.874 \ge 0.85\) – to a highly compatible vector \(v'\)\(G(v',w^{G})=0.929 \ge 0.9\): \(v'\) is highly compatible with v and \(w^{G}\).

With the initial individual PCMs, the proposed procedure (AEM-COM) has made it possible (Table 6) for the three decision makers to improve their compatibility with respect to the final collective position (\(v'\)). All three have improved the category considered on the scale associated with Garuti’s G index (Garuti, 2017).

Table 6 G-compatibility indexes between individual and collective priority vectors

Table 7 shows the results obtained by applying the procedure with different values of the permissibility (\(\rho \) between \(5\%\) and \(50\%\)). As might be expected, it can be observed that the greater the permissibility, the greater is the % of reduction of the \(\textrm{GCOMPI}\) (efficiency), but also the greater is the distance between the initial and final priority vectors. The improvement in incompatibility increases rapidly when permissibility is low and slows down when permissibility is higher, maintaining small distances between the priority vectors. For example, for a permissibility level of \(\rho = 25\%\), a reduction in the value of the \(\textrm{GCOMPI}\) of 92.2% is achieved, with just 14% maximum difference between the priority vectors. The associated value of the G index is 0.907, indicating high compatibility between the initial and final priority vectors. For higher values of permissibility (\(25\% < \rho \le 50\%\)), the value of G indicates compatibility (\(G > 0.85\)). It should also be mentioned that, for each value of \(\rho \), the inconsistency measure (GCI) of the resulting \(P'\) matrix does not exceed the threshold allowed for ensuring the validity of the priority vectors.

Table 7 \(\textrm{GCOMPI}\) improvement and measures of proximity between priority vectors (\(\rho =5\%\) to \(50\%\))

If the permissibility constraint is removed (a situation not in accordance with the proposal), efficiencies of 71.72% and 94.66% would be achieved in the first and second iterations. The substantial improvement of incompatibility occurs at the cost of greater maximum relative changes in judgements (130.7%) and priorities (19.52%), which might not be accepted.

6 Conclusions and recommendations

Assuming a local AHP-GDM context and the Row Geometric Mean as the prioritisation method, this paper presents a theoretical framework and a semi-automatic procedure (AEM-COM) for improving the representativity (incompatibility) of the collective pairwise comparison matrix, irrespective of the method by which the collective matrix is obtained. It should be noted that the AEM-COM procedure does not require the continuous intervention of decision makers and does not modify the individual matrices; it only modifies the judgements of the collective matrix. It is based on the consideration of relative changes and on the slight modification of the judgements of the collective matrix that further improve the \(\textrm{GCOMPI}\). The maximum relative variation allowed for the modification of any judgement is bounded by the parameter known as permissibility (\(\rho \)).

The input data for the procedure comprise the weights of the decision makers, their individual pairwise comparison matrices, the collective matrix (obtained using any CRP) and the parameter \(\rho \). To apply the procedure for reducing incompatibility, it is necessary to check that the initial collective matrix has an acceptable level of inconsistency. If it does not, inconsistency should be reduced (Aguarón et al., 2021) until it reaches the threshold necessary to guarantee the validity of the collective vector.

It may be sufficient to consider a small value of permissibility, since the empirical studies have shown that even when using small values, significant reductions of the \(\textrm{GCOMPI}\) are achieved. If the reduction is not sufficient and further improvement is desired, an increase of the value of \(\rho \) is suggested. Performing a sensitivity analysis of the permissibility parameter may provide relevant information on the critical points and the decision opportunities of the resolution process. The initial value of \(\rho \) can be determined by consensus among the decision makers. If there is no consensus, it is recommended to take the minimum of the individual permissibility values (\(\rho =\min \rho _k\)) to solve the problem. In both cases an implicit acceptance of the final result is assumed.

The analysis of the behaviour of the algorithm and the numerical example used to illustrate the new methodology give a clear idea of its practical potential. The algorithm is computationally efficient, easy to implement, and can be adapted to allow the consideration of several variants.

The proposed framework makes it possible to incorporate specific interests of the decision makers as additional restrictions, as a veto or the imposition of rigid constraints. The modifications of the judgements can be limited so that they do not lie outside of a specific range (Saaty’s scale, priority or consistency stability intervals...). In addition, the algorithm can be adapted to incorporate the personal intervention of decision makers to a greater extent, not only at the beginning of the CRP. The interactive variant would require more time and effort.

Other stopping rules based on thresholds for efficiency, or based on distances between collective priority vectors can be contemplated. For example, with the G-compatibility index (Garuti, 2007), the algorithm would stop when the distance between the initial and final collective positions is lower than a value fixed in advance. The combination of the information provided by the efficiency and the Garuti G measure would allow the establishment of thresholds for the \(\textrm{GCOMPI}\). In case there is different information available (input and/or output), compatibility can be measured by other \(\textrm{GCOMPI}\) expressions (Aguarón et al., 2022).

The range of possibilities for adapting the procedure gives it enormous cognitive potential. These variants and other possible extensions of the current work, including new measures for compatibility and direct thresholds for the \(\textrm{GCOMPI}\) that would make it operative, will be the subject of future research.