int sym_add_row(sym_environment *env, int numelems, int *indices, double *elements, char rowsen, double rowrhs, double rowrng)
This routine is used to add a new row to the original constraint matrix.
sym_environment *env | INOUT | Pointer to the SYMPHONY environment. |
int numelems | IN | An integer indicating the non zero elements of the row. |
int *indices | IN | Pointer to an integer type array indicating the column indices of the non zero elements of the row and having a size of at least numelems. |
double *elements | IN | Pointer to a double type array indicating the values of the non zero elements of the row and having a size of at least numelems. |
char rowsen | IN | A character indicating the sense of the row. |
double rowrhs | IN | A double indicating the right hand side of the row. |
double rowrng | IN | A double indicating the range value of the row. |
FUNCTION_TERMINATED_NORMALLY | Function invoked successfully. |
FUNCTION_TERMINATED_ABNORMALLY | Function invoked unsuccessfully. |