- Procedure GMP::Instance::SetIterationLimit(GMP, iterations)
GMP::Instance::SetIterationLimit
The procedure GMP::Instance::SetIterationLimit
limits the number of
iterations that can be used to solve a generated mathematical program.
GMP::Instance::SetIterationLimit(
GMP, ! (input) a generated mathematical program
iterations ! (input) number of iterations
)
Arguments
- GMP
An element in
AllGeneratedMathematicalPrograms
.- iterations
Maximum number of iterations allowed to solve the generated mathematical program.
Return Value
The procedure returns 1 on success, or 0 otherwise.
See also
The routines GMP::Instance::Generate
, GMP::Instance::Solve
, GMP::Instance::SetCutoff
, GMP::Instance::SetMemoryLimit
and GMP::Instance::SetTimeLimit
.