get_constr_typeGets the type of a constraint. int get_constr_type(lprec *lp, int row); Return Value get_constr_type returns the type of the constraint on row row. Can by any of the following values:
If there is an error then the function returns -1. 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 row The row for which the constraint type must be retrieved. Must be between 1 and number of rows in the lp. Remarks The get_constr_type function returns the constraint type for the
specified row. Example
See Also make_lp, copy_lp, read_lp, read_LP, read_mps, read_freemps, read_MPS, read_freeMPS, read_XLI, is_constr_type, set_constr_type, add_constraint, add_constraintex, str_add_constraint, del_constraint |