Function GMP::Solution::GetIterationsUsed(GMP, solution)

GMP::Solution::GetIterationsUsed

The function GMP::Solution::GetIterationsUsed returns the number of iterations used to create a solution in the solution repository of a generated mathematical program.

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

Arguments

GMP

An element in AllGeneratedMathematicalPrograms.

solution

An integer scalar reference to a solution.

Return Value

The number of iterations used to create a solution.