Introduction

Obtaining a group ranking or a winning candidate from individuals’ preferences on a set of alternatives is an important group decision problem with social choice and voting system implications. In a voting system, each voter ranks the alternatives based on his/her preference, so that each alternative may receive different votes in different ranking places. Assume that each voter selects k out of n alternatives provided k ≤ n and ranks them from the most to the least preferred. Using the scoring rule, a well-known ranking system, the total score of each candidate is the weighted sum of votes he or she receives in different place, where the value 1 is assigned to the most important alternative and n to the least important. Determining the weights used for the different places is clearly an important issue.

Cook and Kress (1990) proposed the data envelopment analysis (DEA) technique to obtain the rank order of alternatives which evaluates each alternative with the most favourable scoring vector. These authors considered the number of votes received at a rank position as an output and used the model with an input equal to unity (Hashimoto 1996) and an additional “assurance region” constraint (Thompson et al. 1986; Hashimoto and Ishikawa 1993). Green et al. (1996) improved this procedure and presented a discrimination method using a cross-efficiency concept, i.e., alternatives take the voters’ preference as desired for themselves compared to the other alternatives.

Liamazares and Pena (2009) showed some drawbacks associated with the method presented by Cook and Kress (1990) and introduced methods which recognize the preference between the efficient alternatives. Hashimoto (1997) proposed an AR/exclusion model based upon the concept of super-efficiency presented by Andersen and Petersen (1993). Although Green et al. (1996) proposed a rank order for the alternatives, they did not consider the possibility of assigning a weight of 0 for a given rank or the difference between two given ranks to be 0. Noguchi et al. (2002) presented a strong ordering to alternatives in which weights are obtained using the feasible solution region of the constraint set in LP. Obata and Ishii (2003) introduced a method to discriminate efficient alternatives using ranked voting data without considering information about inefficient alternatives. As such, the rank order presented using this method is independent of inefficient alternatives. Foroughi and Tamiz (2005) extended the model presented by Obata and Ishii (2003) in order to obtain the rank order for both efficient and inefficient alternatives. The extended model contains fewer constraints compared with the model introduced by Obata and Ishii (2003). Discriminating efficient alternatives by considering their least relative total scores was presented by Wang and Chin (2007). Wang et al. (2008) proposed a method to rank multiple efficient alternatives by comparing the least relative total scores for each efficient alternative with the best and the least relative total scores measured in the same range.

Tavana et al. (2007) proposed a new hybrid distance-based ideal-seeking consensus ranking model. Their proposed hybrid model combines parts of the two commonly used consensus ranking techniques of Beck and Lin (1983) and Cook and Kress (1985) into an intuitive and computationally simple model. Tavana et al. (2008) proposed a new weighted sum ordinal Consensus ranking method with the weights derived from a Sigmoid function. They ran Monte Carlo simulation to compare the similarity of the consensus rankings generated by our method with the best-known method of Borda–Kendall and two other commonly used techniques. They showed although consensus rankings generated by different algorithms are similar, differences in rankings among the algorithms were of sufficient magnitude that they often cannot be viewed as interchangeable from a practical perspective.

Zerafat Angiz et al. (2009) proposed a multi-objective linear programming DEA based model to select the best alternative in a group decision-making environment Contreras (2010) presented a distance-based consensus model with flexible choice of rank-position weights in which preference aggregation is obtained by a ranking of alternatives. To do so, a mixed integer linear programming model was constructed providing the preference of alternatives by the vector of weights that minimizes the disagreement across decision makers. In addition to this model, Contreras (2011) proposed another method that ranks the alternatives in two stages. First stage is based on the cross-evaluation methodology in which (1) the rank of alternatives is computed in their best condition and (2) the individual rank of each alternative is obtained. In the second stage, the group rank of alternatives with common weights is obtained. Hosseinzadeh Lotfi et al. (2013) worked on a three-stage process to rank alternatives. Based on this model, in the first stage the alternatives are evaluated in their best condition with the DEA model. Since the optimal weights obtained in the first stage are non-unique, a second stage is introduced in order to limit the vector of weights. In the third stage, the group rank position is determined based upon the minimum distance by the mean rank obtained in the second stage. To discriminate between efficient alternatives, Soltanifar and Hosseinzadeh Lotfi (2011) used the voting analytic hierarchy process method (VAHP).

The DEA evaluation cannot derive a unique optimal weight vector for the alternatives. So, the problem mentioned above makes the cross-evaluation important. In DEA, to deal with this problem, Sexton et al. (1986) initially proposed a secondary goal and then Doyle and Green (1994) and Doyle and Green (1995) suggested the most widely used secondary goals (i.e., aggressive and benevolent evaluation). Lianga et al. (2008) extended the model introduced by Doyle and Green (1994) as utilizing an alternative secondary goal. Contreras (2012) optimized the rank positions of alternatives as a secondary goal in cross-evaluation so that the alternatives could assume tie ranks.

Ziari, and Raissi (2016) ranked extreme efficient DMUs that solve the infeasibility and unboundedness problem of other methods. Their approach minimized the distance between under evaluation and virtual DMUs. Hafezalkotob and Hafezalkotob (2017) used the interval target-based norm and also considered the concept of degree of preference of interval numbers in order to rank these numbers. Ziari (2016) developed an alternative method to convert the nonlinear model of ranking the DMUs using the L1 norm that has been introduced by Jahanshahloo et al. (2004). Ding and Kamaruddin (2015) compared both crisp TOPSIS and fuzzy TOPSIS from group decision making based on the distance concept. Tohidi and Razavyan (2012) introduced the recession direction for a multi-objective integer linear programming problem.

Gong et al. (2018) used DEA models to evaluate preference in voting system with abstentions. Ebrahimnejad et al. (2016) applied the DEA method to rank efficient alternatives and used simulation to analyse the rankings and synthesize them into one group ranking. Gong et al. (2015) proposed the models to evaluate the consensus rank. Their model is based on minimum cost and maximum return. They used interval preferences for individual ranks. Liu et al. (2017) obtained consensus in group decision making based on an interval-valued trust decision-making space. Wu et al. (2018) introduced a consensus model for social network group decision-making problems. Zhang et al. (2017) presented the consensus models based on minimum cost by random opinions. Also, they discussed sensitivity analysis for different opinions and distributions of cases.

We propose a three-stage method for the ranking of the alternatives in a voting system in a way to minimize the distance between the individual and group ranks. In the first stage, the optimistic rank of each alternative is determined. Each alternative is evaluated not only with its optimal weights but also with the remaining alternatives’ weights, implying that the vector of optimal weights presented is not unique. Although the given model has unique objective values, the vector obtained does not necessarily have a unique value. Thus, depending on which vector is selected, the rank position of other alternatives can alter. Consequently, a secondary goal is introduced to limit the optimal weight vector in the second stage. In the third stage, the ranking of alternatives is computed by common weights in a way that the group ranks have minimum distance from each individual rank by different norms. The proposed model assigns integer ranks to the alternatives. It is important to mention that this is a multi-criteria decision-making model which we solve using mixed integer programming.

The remainder of this paper is organized as follows. In “Proposed method” section introduces the proposed three-stage ranking method. In “Numerical example” section a numerical example is provided to demonstrate the applicability and exhibit the efficacy of the proposed method. In “Conclusion and future research directions” section highlights our conclusions and future research directions.

Proposed method

Individual rank position

One of the most important aspects of decision making is to obtain a group ranking using the individual ranking for a certain set of alternatives. Assume that n alternatives \(\{ x_{1} , \ldots ,x_{n} \}\) with \(n \ge 3\) have to be assigned to \(k\left( {k \le n} \right)\) places. There are many methods for determining the ranks of alternatives using their weights. For instance, scoring rules compute the score for each alternative based on its rank position in the individual preference and then rank the alternatives by the sum of resulting scores. Assuming that \(v_{ij}\) indicates the number of votes that \(x_{i}\) receives in the jth rank position and \(w_{j}\) represents the weight or score associated with \(v_{ij}\), then the aggregate value is defined for the alternative \(x_{i}\) as the weighted sum of the votes receives in different places, i.e., \(V(x_{i} ) = \sum\nolimits_{j = 1}^{k} {w_{j} } v_{ij}\). Therefore, the alternatives can be ranked by comparing their aggregate values. Moreover, the voting system can be used to rank the alternatives. The value of 1 and n are given to the most and least important (preferences) alternatives, respectively. In addition, the ranks are distinct. Hence, the rank vector of alternatives is from 1 to n defining a linear order for the alternatives. Hosseinzadeh Lotfi et al. (2013) suggested a three-stage method in order to rank alternatives. They employed a model for ranking alternatives in the first stage by considering the best rank position of the alternative under evaluation. To do this, a mixed integer linear model is solved as follows (see Model 1):

$$\hbox{min} \;r_{o}^{o}$$
(1)
$${\text{s}} . {\text{t}} .\quad \sum\limits_{j = 1}^{k} {w_{j}^{o} v_{ij} } - \sum\limits_{j = 1}^{k} {w_{j}^{o} v_{hj} + \delta_{ih}^{o} } M \ge 0,\quad \forall i,h,i \ne h,$$
(1a)
$$\delta_{ih}^{o} + \delta_{hi}^{o} = 1,\quad \forall i,h,\quad i \ne h,$$
(1b)
$$\delta_{ih}^{o} + \delta_{hl}^{o} + \delta_{li}^{o} \ge 1,\quad \forall i,h,l,i \ne h \ne l,$$
(1c)
$$r_{i}^{o} = 1 + \sum\limits_{i \ne h} {\delta_{ih}^{o} } ,\quad \forall i,$$
(1d)
$$w_{j}^{o} \in \phi ,\quad \forall j,$$
(1e)
$$\delta_{ih}^{o} \in \left\{ {0,1} \right\},\quad \forall i,h,$$
(1f)

where \(M\) is a large positive number. \(w_{j}^{o}\) indicates associated weights of votes in the jth place when alternative \(x_{o}\) is evaluated and \(v_{ij}\) shows the number of votes that the alternative \(x_{i}\) is received in the jth place. Accordingly, \(V^{o} (x_{i} ) = \sum\nolimits_{j = 1}^{k} {w_{j}^{o} } v_{ij}\) states the aggregate value of votes as the optimal weight vector of the alternative under evaluation. Let \(V^{o} (x_{i} ) \ge V^{o} (x_{h} )\) then the rank position of \(x_{i}\) is better than \(x_{h}\), and in addition, \(\delta_{ih}^{o} = 0\) represents a better rank position for \(x_{i}\) rather than \(x_{h}\), where \(\delta_{ih}^{o}\) is a binary variable. If \(\delta_{ih}^{o} = 0\), then constraint (1a) in Model (1) is obtained as follows:

$$\sum\limits_{j = 1}^{k} {w_{j}^{o} v_{ij} } - \sum\limits_{j = 1}^{k} {w_{j}^{o} v_{hj} + \delta_{ih}^{o} } M \ge 0 \Rightarrow \,\,\,\sum\limits_{j = 1}^{k} {w_{j}^{o} v_{ij} } \ge \,\,\sum\limits_{j = 1}^{k} {w_{j}^{o} v_{hj} \Rightarrow V^{o} (x_{i} ) \ge V^{o} (x_{h} )} \,\,\,\,\,\,\,\,\,\,\,\,$$

Therefore, the rank position of \(x_{i}\) is better than that of \(x_{h}\). The constraints (1a) are redundant if \(\delta_{ih}^{o} = 1\). It is presumed that alternatives are ranked from 1 to n, implying that the alternatives do not have equal ranks which makes constraints (1b) and (1c) necessary. Constraints (1b) demonstrate that \(V^{o} (x_{i} )\) and \(V^{o} (x_{h} )\) are comparable, i.e., either the rank position of alternative \(x_{i}\) is better than \(x_{h}\) or the rank position of alternative \(x_{h}\) is better than \(x_{i}\). Constraints (1d) indicate the number of times that x1 is worse than x2 and the Term \(R^{o} = (r_{1}^{o} , \ldots ,r_{n}^{o} )\) explains the preference vector obtained in the evaluation of alternative \(x_{o}\). It should be noted that the weights are computed assuming that the alternatives are located in the best rank position. In addition, the rank of each alternative is integer-valued.

In order to establish a consensus between several DMs about selecting weights, a feasible set \(\phi\) is defined for the weights. This includes minimum information about the discrimination between the components of the weight vector \(w^{o}\). Therefore, the set \(\phi\) should be specified as \(\phi = \left\{ {w^{o} \in R^{k} |w_{1}^{o} \ge w_{2}^{o} \ge \cdots \ge w_{k}^{o} \ge 0,\sum\nolimits_{j = 1}^{k} {w_{j}^{o} } = 1} \right\}\). If the set \(\phi\) contains only one vector, the rank position of alternatives will be then given based on their aggregate values. As previously mentioned, the set \(\phi\) includes the preference vectors between weights, so that an order is determined for alternatives using \(V^{o} (x_{i} )\) based on each vector \(w^{o}\). As a result, a criterion is proposed to characterize the set \(\phi\) in the evaluation of alternatives. For example, the set \(\phi\) can be defined as \(\phi = \{ w^{o} \in R^{k} |w_{1}^{o} - w_{2}^{o} \ge w_{2}^{o} - w_{3}^{o} ,w_{2}^{o} - w_{3}^{o} \ge w_{3}^{o} - w_{4}^{o} , \ldots \}\) which shows the discrimination between the components of the weights vector (for example, see Contreras et al. 2005; Cook and Kress 1996).

Secondary goal

In general, Model (1) is run n times and introduces a rank vector in each run. We say a rank matrix R of order n is generated in which the oth column is given by \(R^{o} = (r_{1}^{o} , \ldots ,r_{n}^{o} )\). Since the ranks presented can be changed due to the non-uniqueness of the optimal weights obtained from Model (1), the elements of the rank matrix R, excluding the diagonal elements, can then vary depending on which vector is used. In fact, there exists a problem similar to the problem of the cross-evaluation using DEA. The vector of weights derived from the evaluation using DEA is not unique. As a result, \(r_{i}^{o} ,\,(i \ne o)\) may not take a unique value. To solve this problem, the DEA applies a secondary goal. In here, we suggest the following secondary goal in order to limit the optimal solutions obtained by the evaluation of alternatives in the first stage:

$$\hbox{min} \quad \sum\limits_{o = 1}^{n} {r_{oo} } + \varepsilon \sum\limits_{o = 1}^{n} {\sum\limits_{i < o} {\sum\limits_{j = 1}^{k} {\left| {w_{jo} - w_{ji} } \right|} } }$$
(2)
$${\text{s}} . {\text{t}} .\quad \sum\limits_{j = 1}^{k} {w_{jo}^{{}} v_{ij} } - \sum\limits_{j = 1}^{k} {w_{jo}^{{}} v_{hj} + \delta_{iho}^{{}} } M \ge 0,\quad \forall o,i,h,i \ne h,$$
(2a)
$$\delta_{iho}^{{}} + \delta_{hio}^{{}} = 1,\quad \forall o,i,h,i \ne h,$$
(2b)
$$\delta_{iho}^{{}} + \delta_{hlo}^{{}} + \delta_{lio}^{{}} \ge 1,\quad \forall o,i,h,l,i \ne h \ne l,$$
(2c)
$$r_{io} = 1 + \sum\limits_{i \ne h} {\delta_{iho}^{{}} } ,\quad \forall o,i,$$
(2d)
$$w_{jo} \in \phi ,\quad \forall o,j,$$
(2e)
$$\delta_{iho}^{{}} \in \left\{ {0,1} \right\},\quad \forall o,i,h.$$
(2f)

Using Model (1), each alternative is evaluated provided the alternative under evaluation is estimated in the optimistic case. Therefore, the weights obtained from each run of Model (1) can vary significantly from each other. Hence, in Model (2), Model (1) is written in an integrated form in order to select close-up weights for each alternative where each alternative is evaluated independently. Moreover, using Model 2, the weights can be compared with each other. As mentioned earlier, \(M\) is a large positive number. The term \(w_{ji}^{{}}\) signifies the weights assigned to the jth place in the evaluation of alternative \(x_{i}\). The term \(v_{ij}\) gives the number of votes that the alternative \(x_{i}\) receives in the jth place. Furthermore, \(\delta_{iho}\) is the same as the binary variable \(\delta_{ih}^{o}\). The term \(r_{io}\) indicates the element of the rank matrix R that lies in the ith row and the oth column. Model (2) is a two-objective model which minimizes the sum of the ranks and the difference of the weights obtained using Model (1) as the first and second objectives, respectively. The purpose of the model is to choose the alternative under evaluation which has the best rank position. The coefficient \(\varepsilon\) is suggested as the difference of the weights where \(\varepsilon\) is a non-Archimedean number. Moreover, Model (2) is a nonlinear model, meaning that it can be converted to a mixed integer linear model via changes of the variables \(w_{oj} - w_{ij} = d_{oij}^{w}\). Therefore, the constraints \(d_{oij}^{w} \ge w_{oj} - w_{ij}\) and \(d_{oij}^{w} \ge w_{ij} - w_{oj}\), for all \(i,j,i < o\), are added to the model. In order to obtain the rank matrix R that includes the individual ranks, the following model is solved:

$$\hbox{min} \quad \sum\limits_{o = 1}^{n} {r_{oo} } + \varepsilon \sum\limits_{o = 1}^{n} {\sum\limits_{i < o} {\sum\limits_{j = 1}^{k} {d_{ijo}^{w} } } }$$
(3)
$${\text{s}} . {\text{t}} .\quad \sum\limits_{j = 1}^{k} {w_{jo}^{{}} v_{ij} } - \sum\limits_{j = 1}^{k} {w_{jo}^{{}} v_{hj} + \delta_{iho}^{{}} } M \ge 0,\quad \forall o,i,h,i \ne h,$$
(3a)
$$\delta_{iho}^{{}} + \delta_{hio}^{{}} = 1,\quad \forall o,i,h,i \ne h,$$
(3b)
$$\delta_{iho}^{{}} + \delta_{hlo}^{{}} + \delta_{lio}^{{}} \ge 1,\quad \forall o,i,h,l,i \ne h \ne l,$$
(3c)
$$r_{io} = 1 + \sum\limits_{i \ne h} {\delta_{iho}^{{}} } ,\quad \forall o,i,$$
(3d)
$$d_{ijo}^{w} \ge w_{jo} - w_{ji} ,\quad \forall o,i,j,i < o,$$
(3e)
$$d_{ijo}^{w} \ge w_{ji} - w_{jo} ,\quad \forall o,i,j,i < o,$$
(3f)
$$w_{jo} \in \phi ,\quad \forall o,j,$$
(3g)
$$\delta_{iho}^{{}} \in \left\{ {0,1} \right\},\quad \forall o,i,h,$$
(3h)
$$d_{ijo}^{w} \ge 0,\quad \forall o,i,j.$$
(3i)

Group rank position

As previously mentioned, \(R^{o} = (r_{1o}^{{}} , \ldots ,r_{no}^{{}} )\) denotes the rank vector presented in the evaluation of alternative \(x_{o}\). In order to obtain a group rank \(R^{\text{G}} = (r_{1}^{\text{G}} , \ldots ,r_{n}^{\text{G}} )\) considering \(R^{o} = (r_{1o}^{{}} , \ldots ,r_{no}^{{}} )\) obtained from Model (3), in the third stage, a multi-objective mathematical model is provided. This model selects a common vector of weights from the set \(\phi\) that minimizes the disagreement between all individual and group ranks. Hence, the distance function \(d^{p} (R^{\text{G}} ,R) = \sum\nolimits_{h = 1}^{n} {d^{p} (R^{\text{G}} ,R^{h} )} = \sum\nolimits_{h = 1}^{n} {\left( {\sum\nolimits_{i = 1}^{n} {|r_{i}^{\text{G}} - r_{ih} |^{p} } } \right)^{{\frac{1}{p}}} }\), in which \(r_{i}^{\text{G}}\) is the ith component of the group rank and \(r_{ih}\) which measures the rank of \(x_{i}\) in the evaluation of \(x_{h}\), is used to minimize the distance between the individual and group ranks. The metrics \(l^{1}\), \(l^{2}\), and \(l^{\infty }\) are defined for \(p = 1\), \(p = 2\), and \(p = \infty\), respectively, where:

$$d^{1} (R^{\text{G}} ,R) = \sum\limits_{h = 1}^{n} {\sum\limits_{i = 1}^{n} {|r_{i}^{\text{G}} - r_{ih} |} } ,d^{2} (R^{\text{G}} ,R) = \sum\limits_{h = 1}^{n} {\left( {\sum\limits_{i = 1}^{n} {(r_{i}^{\text{G}} - r_{ih} )^{2} } } \right)}^{{\frac{1}{2}}} \;{\text{and}}\;d^{\infty } (R^{\text{G}} ,R) = \mathop {\hbox{max} }\limits_{i,h} \,|r_{i}^{\text{G}} - r_{ih} |.$$

Considering these, the following model is introduced:

$$\hbox{min} \quad d^{1} \left( {R^{\text{G}} ,R^{{}} } \right)$$
(4)
$$\hbox{min} \quad d^{2} \left( {R^{\text{G}} ,R^{{}} } \right)$$
(4a)
$$\hbox{min} \quad d^{\infty } \left( {R^{\text{G}} ,R^{{}} } \right)$$
(4b)
$${\text{s}} . {\text{t}} .\quad \sum\limits_{j = 1}^{k} {w_{j} v_{ij} } - \sum\limits_{j = 1}^{k} {w_{j} v_{hj} + \delta_{ih} } M \ge 0,\quad \forall i,h,i \ne h,$$
(4c)
$$\delta_{ih} + \delta_{hi} = 1,\quad \forall i,h,i \ne h,$$
(4d)
$$\delta_{ih} + \delta_{hl} + \delta_{li} \ge 1,\quad \forall i,h,l,i \ne h \ne l,$$
(4e)
$$r_{i}^{\text{G}} = 1 + \sum\limits_{i \ne h} {\delta_{ih} } ,\quad \forall i,$$
(4f)
$$w_{j} \in \phi ,\quad \forall j,$$
(4g)
$$\delta_{ih} \in \left\{ {0,1} \right\},\quad \forall i,h.$$
(4h)

It should be noted that the group rank estimated by the metrics \(l^{1}\) and \(l^{2}\) is the consensus rank that can be interpreted as the median and mean distance statistics, respectively. Indeed, the median and mean ranks are obtained based on the median and mean of the row ranks of each alternative in the rank matrix R produced by Model (3). The rank group is computed in a way that has a minimum distance from the group rank of each alternative using its corresponding median and mean ranks, respectively. It is important to mention that the outlier ranks have a less preference by using the metric \(l^{1}\) and the metric \(l^{2}\) considers the effect of a rank with different weights for each alternative. The metric \(l^{\infty }\) also minimizes the maximum distance between the individual and group ranks. Note that it avoids creating the maximum distance between two ranks for one place. It is obvious that Model (4) is a nonlinear model. In order to write a mixed integer linear model, we use the following relationships:

  • Nonnegative variables \(d_{ih}^{{r_{1} }}\) are defined to obtain the linear form of \(d^{1} \left( {R^{\text{G}} ,R^{{}} } \right)\) provided that \(d_{ih}^{{r_{1} }} = r_{i}^{\text{G}} - r_{ih} ,\,\forall i,h\). Therefore, the constraints \(d_{ih}^{{r_{1} }} \ge r_{i}^{\text{G}} - r_{ih}\) and \(d_{ih}^{{r_{1} }} \ge r_{ih} - r_{i}^{\text{G}} ,\,\forall i,h\) are added to the linear model.

  • In order to have a linear form for \(d^{2} \left( {R^{\text{G}} ,R^{{}} } \right)\), the derivative of the distance function with respect to \(r_{i}^{\text{G}}\) can be calculated because of the convexity property of \(d^{2} \left( {R^{\text{G}} ,R^{{}} } \right)\). That is;

  • $$\frac{{d(d^{2} (R^{\text{G}} ,R))}}{{d\left( {r_{i}^{\text{G}} } \right)}} = \sum\limits_{h = 1}^{n} {\left( {r_{i}^{\text{G}} - r_{ih} } \right)} = \left( {nr_{i}^{\text{G}} - \sum\limits_{h = 1}^{n} {r_{ih} } } \right) = n\left( {r_{i}^{\text{G}} - \frac{1}{n}\sum\limits_{h = 1}^{n} {r_{ih} } } \right).$$
    (5)

The minimum value of \(d^{2} \left( {R^{\text{G}} ,R^{{}} } \right)\) is obtained by setting the derivative equal to 0. Hence, we have

$$\mathop {\hbox{min} }\limits_{i} \;d^{2} \left( {R^{\text{G}} ,R} \right) = \hbox{min} \,\sum\limits_{i = 1}^{n} {\left| {\frac{{d(d^{2} (R^{\text{G}} ,R))}}{{d\left( {r_{i}^{\text{G}} } \right)}} - 0} \right|} = \hbox{min} \,\sum\limits_{i = 1}^{n} {\left| {n\left( {r_{i}^{\text{G}} - \frac{1}{n}\sum\limits_{h = 1}^{n} {r_{ih} } } \right)} \right|} = \hbox{min} \,\sum\limits_{i = 1}^{n} {|r_{i}^{\text{G}} - \bar{r}_{i} |}$$
(6)

where \(\bar{r}_{i} = \frac{1}{n}\sum\nolimits_{h = 1}^{n} {r_{ih} }\) is interpreted as the mean value of the ith row ranks of the alternative \(x_{i}\). Thus, the nonnegative variables \(d_{i}^{{r_{2} }} = r_{i}^{\text{G}} - \bar{r}_{i} ,\,\forall i\) are defined and the constraints \(d_{i}^{{r_{2} }} \ge r_{i}^{\text{G}} - \bar{r}_{i}\) and \(d_{i}^{{r_{2} }} \ge \bar{r}_{i} - r_{i}^{\text{G}} ,\,\forall i\) are added to the linear form of the model.

  • The term \(d^{{r_{\infty } }} = \mathop {\hbox{max} }\nolimits_{i,h} \,|r_{i}^{\text{G}} - r_{ih} |\) is considered to derive the linear form of \(d^{\infty } (R^{\text{G}} ,R)\) subject to \(d^{{r_{\infty } }} \ge d_{ih}^{{r_{1} }}\).

Considering the above, the linear form of Model (4) is as follows:

$$\begin{aligned} & \hbox{min} \quad \sum\limits_{i = 1}^{n} {\sum\limits_{h = 1}^{n} {d_{ih}^{{r_{1} }} } } \\ & \hbox{min} \quad \sum\limits_{i = 1}^{n} {d_{i}^{{r_{2} }} } \\ & \hbox{min} \quad d^{{r_{\infty } }} \\ \end{aligned}$$
(7)
$${\text{s}} . {\text{t}} .\quad \sum\limits_{j = 1}^{k} {w_{j} v_{ij} } - \sum\limits_{j = 1}^{k} {w_{j} v_{hj} + \delta_{ih} } M \ge 0,\quad \forall i,h,i \ne h,$$
(7a)
$$\delta_{ih} + \delta_{hi} = 1,\quad \forall i,h,i \ne h,$$
(7b)
$$\delta_{ih} + \delta_{hl} + \delta_{li} \ge 1,\quad \forall i,h,l,i \ne h \ne l,$$
(7c)
$$r_{i}^{G} = 1 + \sum\limits_{i \ne h} {\delta_{ih} } ,\quad \forall i,$$
(7d)
$$d_{ih}^{{r_{1} }} \ge r_{ih} - r_{i}^{\text{G}} ,\quad \forall i,h,$$
(7e)
$$d_{ih}^{{r_{1} }} \ge r_{i}^{\text{G}} - r_{ih} ,\quad \forall i,h,$$
(7f)
$$d^{{r_{\infty } }} \ge d_{ih}^{{r_{1} }} ,\quad \forall i,h,$$
(7g)
$$d_{i}^{{r_{2} }} \ge \frac{1}{n}\sum\limits_{h = 1}^{n} {r_{ih} } - r_{i}^{\text{G}} ,\quad \forall i,$$
(7h)
$$d_{i}^{{r_{2} }} \ge r_{i}^{\text{G}} - \frac{1}{n}\sum\limits_{h = 1}^{h} {r_{ih} } ,\quad \forall i,$$
(7i)
$$w_{j} \in \phi ,\quad \forall j,$$
(7j)
$$\delta_{ih} \in \left\{ {0,1} \right\},\quad \forall i,h,$$
(7k)
$$d_{ih}^{{r_{1} }} ,d_{i}^{{r_{2} }} ,d^{{r_{\infty } }} \ge 0,\quad \forall i,h.$$
(7l)

The above model is a mixed integer multi-objective model which can be solved using many methods. To solve Model (7), the weighted sum method is used so that the used weights are standardized. Therefore, the objective functions of Model (7) can be replaced with one objective, \(\hbox{min} \;\frac{{v_{1} }}{{n^{2} }}\sum\nolimits_{i = 1}^{n} {\sum\nolimits_{h = 1}^{n} {d_{ih}^{{r_{1} }} } } + {\mkern 1mu} \frac{{v_{2} }}{n}\sum\nolimits_{i = 1}^{n} {d_{i}^{{r_{2} }} } + v_{3} d^{{r_{\infty } }}\), to compute the group rank position of the alternatives where \(v_{1}\), \(v_{2}\), and \(v_{3}\) are the weights assigned to the three objectives by the DMs and are nonnegative values. If the DMs wish the group rank close to the median value, \(v_{1}\) will take a bigger value than \(v_{2}\) and \(v_{3}\). The weight \(v_{2}\) will have the most importance if the value of \(v_{2}\) is more than other weights.

In fact, if the DM wants the group rank close to the median value, then he can use the metric l1. In this case, the outlier ranks have less preference. If the DM wants the group rank close to the mean value, then he can use the metric l2. In this case, the effect of a rank with different weights is presented. \(l^{\infty }\) minimizes the maximum distance between the individual and group rank. Therefore, the DM can compute the group rank position of alternatives by different norms. The pseudocode of our algorithm is presented here:

figure a

Numerical example

In this section, we apply our method to Green et al. (1996) problem where voters are asked to rank seven alternatives. Table 1 shows the number of votes for each alternative.

Table 1 The votes

Let the consensus of DMs on selecting the weights that show the discrimination between the components of the weight vector be given by \(\phi = \{ w_{1} \ge w_{2} \ge 0.01,w_{1} + w_{2} = 1\}\). The set \(\phi\) can be interpreted as the weight of the first position of votes is more than the second position. The lower value for the weight of the second position is 0.01, and the sum of the both places is equal to one. As previously mentioned, the alternatives are evaluated in their optimistic cases as the best rank position for the alternatives is computed in Stage 1. Since Model (1) may have multiple optimal weights, so the secondary goal is suggested to deal with the above mentioned problem. Hence, Model (3) is run in order to obtain the rank matrix R. This minimizes the rank position of the alternative under evaluation as well as the weights difference considered in the first and second position votes. Table 2 shows the rank position of all the alternatives in Stage 2. The weighting vector is presented in Table 3.

Table 2 Rank position of alternatives in the second stage
Table 3 The value of weights

In the third stage, the distance between the group rank \(R^{\text{G}}\) and each column of the rank matrix is minimized by considering the metrics \(l^{1}\), \(l^{2}\), and \(l^{\infty }\) where the DM presents the weights as \(v_{1} = 0.4\), \(v_{2} = 0.4\), and \(v_{3} = 0.2\). In this stage, the weights are obtained based on the common vector of weights, \(\phi\). The resulting group rank is \(R^{\text{G}} = (3,1,5,4,2,6,7)\). The weight vector obtained from the optimal solution is \(w = (0. 6 2 2 ,0. 3 7 8)\). It should be noted that different values of \(v_{1}\), \(v_{2}\), and \(v_{3}\) selected by the DMs give a different group rank. In fact, if the DMs wish the group rank to have the least distance with the median values of the rank matrix, he/she can consider v1 to be the most important. Similarly, the most preference can be given to \(v_{2}\) when the DMs desire to obtain the group rank close to the mean of the rank matrix. \(v_{3}\) also can take a higher value than \(v_{1}\) and \(v_{2}\), when the DMs want to minimize the maximum difference. Thus, the choice of \(v_{1}\), \(v_{2}\), and \(v_{3}\) reflect the DM’s objectives.

We have \(w = (0.622,0.378)\) in the numerical example and use the votes in Table 1. We obtain the following results:

$$\begin{aligned} V^{o} (x_{1} ) & = 23.684 \\ V^{o} (x_{2} ) & = 24.976 \\ V^{o} (x_{3} ) & = 21.694 \\ V^{o} (x_{4} ) & = 22.646 \\ V^{o} (x_{5} ) & = 23.976 \\ V^{o} (x_{7} ) & = 11.34 \\ V^{o} (x_{6} ) & = 21.684 \\ \end{aligned}$$

If \(V^{o} (x_{i} ) \ge V^{o} (x_{h} )\), then the rank position of \(x_{i}\) is better than that of \(x_{h}\). Therefore, \(R^{\text{G}} = (3,1,5,4,2,6,7).\)

Conclusion and future research directions

In this study, we proposed a three-stage method to rank alternatives in the voting system. In the first stage, the rank position of each alternative was computed based on the weight vector of the alternative under evaluation. The model in Stage 1 was run n times to produce a set of rankings for each run. Consequently, a rank matrix of order n was obtained in which the ith column signifies the rank vector when the alternative under evaluation is \(x_{i}\). Since the vector of weights obtained in the first stage is not a singleton, the rank position of the alternative under evaluation remains unchanged, but the rank matrix obtained can then vary when the weights change. To deal with this problem, a secondary goal was defined in Stage 2 of the method. The secondary goal aimed at minimizing weights differences in each alternative. In the third stage of the method, the group rank position of alternatives was computed using the CSW for all the alternatives based on a distance of individual rank positions. In fact, the third stage determined a consensus solution for the group so that the ranks obtained have a minimum distance from the ranks acquired by each alternative in the previous stage. The minimum distance can be obtained by the metrics \(l^{1}\), \(l^{2}\), and \(l^{\infty }\) as selected by the DMs. In this model, all three metrics can be employed, and the DMs can choose one, two, or three of them. The DMs can use the metrics \(l^{1}\) and \(l^{2}\) when the group rank close to median and mean values are required, respectively. The DMs also can consider \(l^{\infty }\) to obtain a group rank as it minimizes the maximum distance between the individual and group ranks. The proposed model is a multi-criteria decision-making model that can be converted to a model with one objective by the weighted sum method.