<< sym_getNumConstr Symphony Native Functions sym_getNumVar >>

Symphony Toolbox >> Symphony Toolbox > Symphony Native Functions > sym_getNumElements

sym_getNumElements

To get the number of non-zero entries of the constraint matrix of the current problem.

Calling Sequence

sym_getNumElements()

Description

This routine is used to get the number of non-zero entries of the constraint matrix of the current problem.

Arguments

This function takes no arguments

Return value

If there was an error, it prints error message to Scilab console and returns -1, else it returns a number ( >=0 ) as number of non-zero elements.

Examples

ans=sym_getNumElements()

Authors


Report an issue
<< sym_getNumConstr Symphony Native Functions sym_getNumVar >>