- Set CurrentMatrixBlockSizes
CurrentMatrixBlockSizes
The predefined parameter CurrentMatrixBlockSizes contains the number
of non-zeros for the last mathematical program generated.
Parameter CurrentMatrixBlockSizes {
IndexDomain : (IndexConstraints, IndexVariables);
}
Definition
The parameter
CurrentMatrixBlockSizescontains the number of non-zeros for the last mathematical program generated. The parameter counts the non-zeros in all generated rows of a particular symbolic constraint with respect to all generated columns of a particular symbolic variable.
Note
You can use the parameter
CurrentMatrixBlockSizes, for example, to analyze which constraint-variable sub-block of the generated matrix accounts for a number of non-zeros in a mathematical program that appears to be unnaturally high.The parameters
CurrentMatrixRowCount,CurrentMatrixColumnCountandCurrentMatrixBlockSizesare only set when the AIMMS option Solvers General - Matrix Generation - Matrix_Block_Sizes is set toon.
See also
The sets CurrentMatrixColumnCount, CurrentMatrixRowCount.