# Set Java VM memory use to 2g not to run out of heap space
options( java.parameters = "-Xmx2g" )
library(ror)
## Test with pareto-optimal alternatives
performances <- matrix(c(0.1823507, 0.5232321, 0.7595968, 0.2964752,
0.1676054, 0.5408093, 0.1604821,0.4699517, 0.4170541, 0.5357071,
0.1292226, 0.2366909, 0.7583132, 0.3765545, 0.4587448), ncol=5, byrow=TRUE)
nonDominated <- maximalvectors(performances)
stopifnot(nrow(nonDominated) == 3)
Run the code above in your browser using DataLab