del_constraintRemove a constraint from the lp. int del_constraint(lprec *lp, int row); Return Value del_constraint 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_file, read_LP, read_mps, read_MPS row The row to delete. Must be between 1 and the number of rows in the lp. Remarks The del_constraint function deletes a row from the model. The row is
effectively deleted, so all rows after this row shift one up. Example
See Also make_lp, copy_lp, read_lp, read_lp_file, read_LP, read_mps, read_MPS, add_constraint, str_add_constraint |