skcriteria.agg.vikor module
VIKOR method.
- class skcriteria.agg.vikor.VIKOR(*, v=0.5, use_compromise_set=True)[source]
Bases:
SKCDecisionMakerABCThe VIKOR Method for Multi-Criteria Decision Making.
VIKOR (VIseKriterijumska Optimizacija I Kompromisno Resenje) introduces the concept of a compromise solution, which is a feasible solution that is closest to the ideal, and represents a balance between the majority rule (group utility) and the individual regret of the opponent.
The method evaluates alternatives by converting an n-criteria decision problem into a bi-criteria one using the Manhattan distance (\(S_k\), or group utility) and the Chebyshev distance (\(R_k\), or individual regret). These are then combined into a single aggregated score (\(Q_k\)) using a weight factor \(v\) that reflects the decision-making strategy: emphasis on group utility (high \(v\)) or individual regret (low \(v\)).
VIKOR allows the identification of a single compromise solution if the following two conditions are met:
- Acceptable advantage:
The best-ranked alternative is sufficiently better than the second.
- Acceptable stability:
The best-ranked alternative must also be the best in at least one of the original distance metrics.
Otherwise, it identifies a set of compromise solutions.
- Parameters:
v (float, optional, default=0.5) – The strategy weight that reflects the decision-making tendency. v = 0 gives full weight to the Chebyshev distance (individual regret), v = 1 gives full weight to the Manhattan distance (group utility), and v = 0.5 balances both. Must satisfy 0 <= v <= 1.
use_compromise_set (bool, optional, default=True) – If True, all alternatives within the identified compromise set are ranked equally at the top position (rank 1). If False, only the best \(Q_k\) remains at the top rank, and it is up to the user to examine the compromise set afterwards.
Warning
- UserWarning:
Division by zero may occur during scaling if any criterion has identical values across all alternatives, or there is identical group utility or individual regret across all alternatives.
References
- property v
The strategy weight for VIKOR.
- property use_compromise_set
Whether to use the compromise set in ranking.