- Procedure GMP::Instance::RestoreState(GMP, state)
GMP::Instance::RestoreState
With procedure GMP::Instance::RestoreState
you can restore the state of a
generated mathematical program as it was on the moment that you called
GMP::Instance::SaveState
.
GMP::Instance::RestoreState(
GMP, ! (input) a generated mathematical program
state ! (input) an integer scalar parameter
)
Arguments
- GMP
An element in
AllGeneratedMathematicalPrograms
.- state
The value corresponding to a state that you want to restore.
Return Value
The procedure returns 1 on success, or 0 otherwise.
See also
The procedure GMP::Instance::SaveState
.