get_nonzerosReturns the number of non-zero elements in the matrix. int get_nonzeros(lprec *lp); Return Value get_nonzeros returns the number of non-zero elements in the matrix. Parameters lp Pointer to previously created lp model. See return value of make_lp, copy_lp, read_lp, read_LP, read_mps, read_freemps, read_MPS, read_freeMPS, read_XLI Remarks The get_nonzeros function returns the number of non-zeros in the matrix. Example
See Also make_lp, copy_lp, read_lp, read_LP, read_mps, read_freemps, read_MPS, read_freeMPS, read_XLI |