Initializing help system before first use

problem.calcobjective

problem.calcobjective


Purpose
Returns the objective value of a given solution.
Synopsis
objval = problem.calcobjective(solution)
Argument
solution 
Array of length problem.attributes.cols that holds the solution.
Further information
The calculations are always carried out in the original problem, even if the problem is currently presolved.
Related topics