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