set_rhSet the value of the right hand side (RHS) vector (column 0) for one row. int 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, copy_lp, read_lp, read_lp_file, read_LP, read_mps, read_MPS 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, copy_lp, read_lp, read_lp_file, read_LP, read_mps, read_MPS, set_rh_vec, str_set_rh_vec, get_rh, add_constraint, add_column, get_column, get_row, get_mat, mat_elm |