set_rhSet the value of the right hand side (RHS) vector (column 0) for one row. unsigned char set_rh(lprec *lp, int row, REAL value); Return Value
set_rh returns TRUE (1) if the operation was successful. A return value
of FALSE (0) indicates an error. Parameters lp Pointer to previously created lp model. See return value of make_lp, read_lp, read_LP, read_mps, read_freemps, read_MPS, read_freeMPS, read_XLI row The row for which the RHS value must be set. Must be between 0 and number of rows in the lp. value The value of the RHS. Remarks
The set_rh function sets the value of the RHS vector (column 0) for the
specified row. Example
See Also make_lp, read_lp, read_LP, read_lpt, read_LPT, read_mps, read_freemps, read_MPS, read_freeMPS, read_XLI, set_rh_vec, str_set_rh_vec, get_rh, add_constraint, add_constraintex, str_add_constraint, add_column, add_columnex, str_add_column, get_column, get_row, get_mat |