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