GeezerVison is showing jbytecode.github.io — Assignment · OperationsResearchModels.jl
OperationsResearchModels.Assignment.AssignmentProblem — Type
OperationsResearchModels.solve — Method
solve(a)
Arguments
a::AssignmentProblem: The problem in type of AssignmentProblem
Output
AssignmentResult: The custom data type that holds problem, solution, and optimum cost.
Description
Solves an assignment problem given by an object of in type AssignmentProblem.
Example
mat = [
4 8 1;
3 1 9;
1 6 7;
];
problem = AssignmentProblem(mat);
result = solve(problem);
See also AssignmentProblem, AssignmentResult
sourceOperationsResearchModels.Assignment.AssignmentResult — Type
AssignmentResult
Fields
problem::AssignmentProblem: The original assignment problem.solution::Matrix: The solution matrix of the assignment problem.cost::Real: The optimal cost of the assignment.model::JuMP.Model: The JuMP model used to solve the problem.
Description
The AssignmentResult struct represents the result of solving an assignment problem. It contains the original problem, the solution matrix, and the optimal cost.
See also AssignmentProblem, solve(::AssignmentProblem)
source