linopy.model.Model.remove_sos_constraints#
- Model.remove_sos_constraints(variable)#
Remove all sos constraints from a given variable.
- Parameters:
variable (
Variable) – Variable instance from which to remove all sos constraints. Can be retrieved from m.variables.sos.- Returns:
None.