- Procedure MatrixRestoreState(MP, state)
MatrixRestoreState
With procedure MatrixRestoreState
you can restore the state of your
mathematical program as it was on the moment that you called
MatrixSaveState
.
MatrixRestoreState(
MP, ! (input) a mathematical program
state ! (input) an integer scalar parameter
)
Arguments
- MP
A mathematical program that was previously solved. The mathematical program should be a linear or mixed-integer linear programming model.
- state
The value corresponding to a state that you want to restore.
Return Value
The procedure returns 1 on success, or 0 otherwise.
Note
As of AIMMS release 3.5, the matrix manipulation procedures have become deprecated. New projects should use the GMP library instead. Please refer to Table 5 for a mapping of the matrix manipulation procedures to corresponding GMP procedures.
See also
The procedure MatrixSaveState
. Matrix manipulation routines are discussed in
more detail in Implementing Advanced Algorithms for Mathematical Programs of the Language Reference.