- Function MatrixModifyLeftHandSide(MP, row, value)
MatrixModifyLeftHandSide
The procedure MatrixModifyLeftHandSide
changes the left-hand-side of
a row in the matrix.
MatrixModifyLeftHandSide(
MP, ! (input) a mathematical program
row, ! (input) a scalar value
value ! (input) a numerical expression
)
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 ranged row in the matrix.
- value
The new value that should be assigned to the left-hand-side of the row. This value should be unequal to
NA
,UNDF
andINF
(but might be-INF
).
Note
After a call to
MatrixSolve
AIMMS checks for each modified ranged row whether or not the left-hand-side value is valid, that is, the left-hand-side value should be unequal toINF
.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 procedures MatrixModifyRightHandSide
, MatrixSolve
. Matrix manipulation routines are
discussed in more detail in Implementing Advanced Algorithms for Mathematical Programs of the Language Reference.