Description Usage Arguments Value Examples
This function allows to check if preference information is consistent.
1 | checkConsistency(problem)
|
problem |
Problem to check. |
TRUE
if a model of a problem is feasible and FALSE
otherwise.
1 2 3 4 5 | perf <- matrix(c(5, 2, 1, 7, 0.5, 0.9, 0.4, 0.4), ncol = 2)
problem <- buildProblem(perf, 3, FALSE, c('g', 'g'), c(0, 0))
problem <- addAssignmentsLB(problem, c(1, 2), c(2, 3))
isConsistent <- checkConsistency(problem)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.