- Procedure MatrixSaveState(MP, state)
MatrixSaveState
With the procedure MatrixSaveState
you can save the current state of
a mathematical program. Later on, after manipulating the mathematical
program, you can restore this state by calling MatrixRestoreState
.
MatrixSaveState(
MP, ! (input) a mathematical program
state ! (output) 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
On return, contains a positive integer value assigned to the state.
Return Value
The procedure returns 1 on success, or 0 otherwise.
Note
States are numbered from 1 upwards by AIMMS.
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 MatrixRestoreState
. Matrix manipulation routines are discussed in
more detail in Implementing Advanced Algorithms for Mathematical Programs of the Language Reference.