Skip to content

Commit

Permalink
NFC: updating docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
emma58 committed Sep 9, 2024
1 parent f2545d4 commit 209ad5c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pyomo/gdp/plugins/hull.py
Original file line number Diff line number Diff line change
Expand Up @@ -930,10 +930,9 @@ def get_disaggregation_constraint(

def get_var_bounds_constraint(self, v, disjunct=None):
"""
Returns the IndexedConstraint which sets a disaggregated
variable to be within its bounds when its Disjunct is active and to
be 0 otherwise. (It is always an IndexedConstraint because each
bound becomes a separate constraint.)
Returns a dictionary mapping keys 'lb' and/or 'ub' to the Constraints that
set a disaggregated variable to be within its lower and upper bounds
(respectively) when its Disjunct is active and to be 0 otherwise.
Parameters
----------
Expand Down

0 comments on commit 209ad5c

Please sign in to comment.