Skip to content

Commit

Permalink
Merge branch 'v1.1.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbowly committed Nov 15, 2024
2 parents 97e9c71 + 0eae08c commit 7b37765
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/source/advanced.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ function of the Gurobi model.
... constrs.append(constr)
>>> indicators = pd.Series(index=df.index, data=constrs, name="ind")

The resulting ``indicators`` series stores the indicator constraint objects.
The resulting ``indicators`` series stores the newly added indicator constraint
objects.

SOS Constraints
---------------
Expand Down Expand Up @@ -93,4 +94,4 @@ rows, creating a constraint for each row. To iterate over rows efficiently, use
... cs.append(c)
>>> sos = pd.Series(index=df.index, data=cs, name="sos")

The resulting ``sos`` series captures the newly added SOS constraint objects.
The resulting ``sos`` series stores the newly added SOS constraint objects.

0 comments on commit 7b37765

Please sign in to comment.