Procedure GMP::Instance::SetTimeLimit(GMP, seconds)

GMP::Instance::SetTimeLimit

The procedure GMP::Instance::SetTimeLimit limits the elapsed time to solve a generated mathematical program.

GMP::Instance::SetTimeLimit(
     GMP,             ! (input) a generated mathematical program
     seconds          ! (input) number of seconds
     )

Arguments

GMP

An element in AllGeneratedMathematicalPrograms.

seconds

Maximum number of seconds available to solve the generated mathematical program.

Return Value

The procedure returns 1 on success, or 0 otherwise.