Get assignments

Share:

Description

This function returns assignments for given model solution.

Usage

1
getAssignments(problem, solution)

Arguments

problem

Problem whose model was solved.

solution

Result of model solving (e.g. result of findRepresentativeFunction or investigateUtility).

Details

Function is deprecated. Solution already contains assignments.

Value

Vector of alternative assignments. Each element contains an index of a class that corresponding alternative was assigned to.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.