is_constr_typeReturns if constraint type specified in mask is active. unsigned char is_constr_type(lprec *lp, int row, int mask); Return Value is_constr_type returns TRUE or FALSE 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 constraint type must be retrieved. Must be between 1 and number of rows in the lp. mask Any of the following values:
Remarks The is_constr_type function returns a flag if constraint type specified in mask is active. Example
See Also make_lp, read_lp, read_LP, read_lpt, read_LPT, read_mps, read_freemps, read_MPS, read_freeMPS, read_XLI, get_constr_type, set_constr_type, add_constraint, add_constraintex, str_add_constraint, del_constraint |