addAssignmentsLB: Add lower bound of alternative possible assignments

Description Usage Arguments Value See Also Examples

Description

This function adds lower bounds of possible assignments to a problem.

Usage

1

Arguments

problem

Problem to which preference information will be added.

...

Assignments as two-element vectors. Each vector c(i, j) represents assignment of an alternative a_i to class at least as good as class C_j.

Value

Problem with added assignment examples.

See Also

buildProblem removeAssignmentsLB

Examples

1
2
3
4
5
6
7
8
# 4 alternatives, 2 gain criteria, 3 classes, monotonously increasing
# and general marginal value functions
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))

# add assignment examples: alternative 1 to class at least as good as class 2
# and alternative 2 to class at least as good as class 3
problem <- addAssignmentsLB(problem, c(1, 2), c(2, 3))


Search within the rorutadis package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.