int sym_get_matrix(sym_environment *env, int *nz, int *matbeg, int *matind, double *matval)
sym_environment *env | IN | Pointer to the SYMPHONY environment. |
int *nz | OUT | Pointer to integer indicating the non zero elements of the constraint matrix. |
int *matbeg | OUT | Pointer to a double type array to be filled by the starting positions of each of column. Note that, the size of this array has to be at least the number of columns+1 |
int *matind | OUT | Pointer to a double type array to be filled by the row indices corresponding to each entry of matval. Note that, the size of this array has to be at least the number of nonzero elements of the constraint matrix. |
int *matval | OUT | Pointer to a double type array of the values of nonzero entries of the constraint matrix in column order. Note that, the size of this array has to be at least the number of nonzero elements of the constraint matrix. |
FUNCTION_TERMINATED_ABNORMALLY | Function invoked unsuccessfully. |
FUNCTION_TERMINATED_NORMALLY | Function invoked successfully. |