Learn R Programming

MCDM (version 1.0)

VIKOR: Implementation of VIKOR Method for Multi-Criteria Decision Making Problems.

Description

The VIKOR function implements the "VIseKriterijumska Optimizacija I Kompromisno Resenje" (VIKOR) Method.

Usage

VIKOR(decision, weights, cb, v)

Arguments

decision
The decision matrix (m x n) with the values of the m alternatives, for the n criteria.
weights
A vector of length n, containing the weights for the criteria. The sum of the weights has to be 1.
cb
A vector of length n. Each component is either cb(i)='max' if the i-th criterion is benefit or cb(i)='min' if the i-th criterion is a cost.
v
A value in [0,1]. It is used in the calculation of the Q index.

Value

VIKOR returns a data frame which contains the score of the S, R and Q indixes and the ranking of the alternatives according to Q index.

References

Opricovic, S.; Tzeng, G.H. Compromise solution by MCDM methods: A comparative analysis of VIKOR and TOPSIS. European Journal of Operational Research, 156(2), 445-455, 2004.

Examples

Run this code
d <- matrix(rpois(12, 5), nrow = 4)
 w <- c(0.2, 0.2, 0.6)
 cb <- c('max','min','max')
 v <- 0.5
 VIKOR(d,w,cb,v)

Run the code above in your browser using DataLab