Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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)