is_negativeReturns if the variable is negative. unsigned char is_negative(lprec *lp, int column); Return Value is_negative returns TRUE (1) if the variable is defined as negative,
FALSE (0) otherwise. 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 that must be checked. It must be between 1 and the number of columns in the lp. Remarks The is_negative function returns if a variable is negative or not. Negative means a lower and upper bound that are both negative. Default a variable is not free because default it has a lower bound of 0 (and an upper bound of +infinity). Example
See Also make_lp, read_lp, read_LP, read_lpt, read_LPT, read_mps, read_freemps, read_MPS, read_freeMPS, read_XLI, get_upbo, set_upbo, set_lowbo, get_lowbo, set_bounds, is_free, set_free |