Ask Your Question

Revision history [back]

The constraints should be in the order you entered them. To remove the last just do

sage: p.remove_constraint(p.number_of_constraints() - 1)