50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

rorutadis (version 0.4.2)

findSolutionWithIncomplete: Find single value function from incomplete preference information

Description

This function finds a single value function from incomplete preference information for a problem.

Usage

findSolutionWithIncomplete(problem, stochasticResults, method, reg = 1e-20, accuracy = 1e-10)

Arguments

problem
Problem to investigate.
stochasticResults
Stochastic results (see calculateStochasticResults).
method
cai-product, apoi-product, or combined-product.
reg
Reg
accuracy
Accuracy

Value

List with named elements:
  • vf - list of 2-column matrices with marginal value functions (characteristic point in rows),
  • thresholds,
  • assignments,
  • alternativeValues,
  • epsilon.

See Also

calculateStochasticResults findRepresentativeFunction plotComprehensiveValue findSimpleFunction

Examples

Run this code
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))

stochasticResults <- calculateStochasticResults(problem, 100)
representativeFunction <- findSolutionWithIncomplete(problem, stochasticResults, "cai-product")
assignments <- representativeFunction$assignments

Run the code above in your browser using DataLab