Click or drag to resize
AssignmentProblem Methods

The AssignmentProblem type exposes the following members.

Methods
  NameDescription
Public methodDualCol
Returns the dual optimal value for the specified column.
Public methodDualRow
Returns the dual optimal value for the specified row.
Public methodStatic memberMainTest
Demo test the AssignmentProblem data type. Takes a command-line argument N; creates a random N-by-N matrix; solves the N-by-N assignment problem; and prints the optimal solution.
Public methodSol
Returns the column associated with the specified row in the optimal solution.
Public methodWeight
Returns the total weight of the optimal solution
Top
See Also