set_constr_typeSet the type of a constraint. unsigned char set_constr_type(lprec *lp, int row, int con_type); Return Value set_constr_type 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_mps, read_freemps, read_MPS, read_freeMPS, read_XLI row The row for which the constraint type must be set. Must be between 1 and number of rows in the lp. con_type The type of the constraint. Can by any of the following values:
Remarks The set_constr_type function sets the constraint type for the specified
row. Example
See Also make_lp, read_lp, read_LP, read_mps, read_freemps, read_MPS, read_freeMPS, read_XLI, get_constr_type, is_constr_type, add_constraint, add_constraintex, str_add_constraint, del_constraint |