Procedure GMP::Solution::SetIterationCount(GMP, solution, iterationCount)

GMP::Solution::SetIterationCount

The procedure GMP::Solution::SetIterationCount sets the iteration count of a solution in the solution repository of a generated mathematical program.

GMP::Solution::SetIterationCount(
     GMP,            ! (input) a generated mathematical program
     solution,       ! (input) a solution
     iterationCount  ! (input) iteration count
     )

Arguments

GMP

An element in AllGeneratedMathematicalPrograms.

solution

An integer scalar reference to a solution.

iterationCount

An integer scalar.

Return Value

The procedure returns 1 on success, or 0 otherwise.