Learn R Programming

rorutadis (version 0.4.2)

deteriorateAssignment: Post factum analysis: deteriorate assignment

Description

This function checks how much an alternative evaluations can be deteriorated so that that alternative would stay possibly (or necessarily) in at least some specific class. Deterioration is based on minimization value of rho in multiplication of an alternative evaluations on selected criteria by value rho (where 0 < rho <= 1<="" code="">). Note! This function works for problems with only non-negative alternative evaluations.

Usage

deteriorateAssignment(alternative, atLeastToClass, criteriaManipulability, necessary, problem)

Arguments

alternative
An alternative for assignment deterioration.
atLeastToClass
An assignment to investigate.
criteriaManipulability
Vector containing a logical value for each criterion. Each value denotes whether multiplying by rho on corresponding criterion is allowed or not. At least one criterion has to be available for that manipulation.
necessary
Whether necessary or possible assignment is considered.
problem
Problem for which deterioration will be performed.

Value

Value of rho or NULL if given assignment is not possible in any scenario.

See Also

improveAssignment

Examples

Run this code
perf <- matrix(c(5, 2, 1, 7, 0.5, 0.9, 0.4, 0.5), ncol = 2)
problem <- buildProblem(perf, 3, FALSE, c('g', 'g'), c(0, 0))
problem <- addAssignmentsLB(problem, c(1, 2), c(2, 3))

rho <- deteriorateAssignment(4, 1, c(TRUE, TRUE), FALSE, problem)

Run the code above in your browser using DataLab