linopy.model.Model.remove_constraints#
- Model.remove_constraints(name)#
Remove all constraints stored under reference name ‘name’ from the model.
- Parameters:
name (
str
orlist
ofstr
) – Reference name(s) of the constraints to remove. If a single name is provided, only that constraint will be removed. If a list of names is provided, all constraints with those names will be removed.- Returns:
None.