Procedure GMP::Solution::SetSolverStatus(GMP, solution, status)

GMP::Solution::SetSolverStatus

The procedure GMP::Solution::SetSolverStatus sets the solver status of a solution in the solution repository of a generated mathematical program.

GMP::Solution::SetSolverStatus(
     GMP,            ! (input) a generated mathematical program
     solution,       ! (input) a solution
     status          ! (input) a status
     )

Arguments

GMP

An element in AllGeneratedMathematicalPrograms.

solution

An integer scalar reference to a solution.

status

An element in the set AllSolutionStates.

Return Value

The procedure returns 1 on success, or 0 otherwise.