ELEMS


Description
Number of matrix nonzeros (elements).
Type
Integer
Notes
If the matrix is in a presolved state, this attribute returns the number of matrix nonzeros in the presolved matrix. If you require the value for the original matrix, make sure you obtain the value when the matrix is not presolved. The PRESOLVESTATE attribute can be used to test if the matrix is presolved or not. See also Working with Presolve.
Set by routines


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.