- Procedure MatrixDeactivateRow(MP, row)
MatrixDeactivateRow
The procedure MatrixDeactivateRow
deactivates a row in the matrix.
The row will be ignored by the solver until it is activated again.
MatrixDeactivateRow(
MP, ! (input) a mathematical program
row ! (input) a scalar value
)
Arguments
- MP
A mathematical program that was previously solved. The mathematical program should be a linear or mixed-integer linear programming model.
- row
A scalar reference to an existing row in the matrix; this can not be the objective row.
Return Value
The procedure returns 1 on success, or 0 otherwise.
Note
Deactivating a row results in changing the type of that row into
'<'
and the right hand side value intoINF
(the row coefficients do not change).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 MatrixActivateRow
. Matrix manipulation routines are discussed in
more detail in Implementing Advanced Algorithms for Mathematical Programs of the Language Reference.