set_boundsSet the upper and lower bound of a variable. unsigned char set_bounds(lprec *lp, int column, REAL lower, REAL upper); Return Value set_bounds 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_lpt, read_LPT, read_mps, read_freemps, read_MPS, read_freeMPS, read_XLI column The column number of the variable on which the bounds must be set. It must be between 1 and the number of columns in the lp. Remarks The set_bounds function sets a lower and upper bound on the variable
identified by column. Example
See Also make_lp, read_lp, read_LP, read_lpt, read_LPT, read_mps, read_freemps, read_MPS, read_freeMPS, read_XLI, set_lowbo, get_lowbo, set_upbo, get_upbo, set_free, is_free, is_negative |