get_rhGets the value of the right hand side (RHS) vector (column 0) for one row. REAL get_rh(lprec *lp, int row); Return Value
get_rh returns the value of the RHS for the specified row. If row is out
of range it returns 0. If no previous value was set, then it also returns 0,
the default RHS value. Parameters lp Pointer to previously created lp model. See return value of make_lp, read_lp, read_LP, read_lpt, read_LPT, read_mps, read_freemps, read_MPS, read_freeMPS, read_XLI row The row for which the RHS value must be retrieved. Must be between 0 and number of rows in the lp. value The value of the RHS. Remarks
The get_rh function returns 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, set_rh_vec, str_set_rh_vec, add_constraint, add_constraintex, str_add_constraint, add_column, add_columnex, str_add_column, get_column, get_row, get_mat |