Skip to content

Commit

Permalink
Make numbered list in example unnumbered
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianSosic authored and AVHopp committed Sep 3, 2024
1 parent 49ec344 commit e878a28
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/Constraints_Continuous/linear_constraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@
]

# We model the following constraints:
# 1. $1.0*x_1 + 1.0*x_2 = 1.0$
# 2. $1.0*x_3 - 1.0*x_4 = 2.0$
# 3. $1.0*x_1 + 1.0*x_3 >= 1.0$
# 4. $2.0*x_2 + 3.0*x_4 <= 1.0$ which is equivalent to $-2.0*x_2 - 3.0*x_4 >= -1.0$
# - $1.0*x_1 + 1.0*x_2 = 1.0$
# - $1.0*x_3 - 1.0*x_4 = 2.0$
# - $1.0*x_1 + 1.0*x_3 >= 1.0$
# - $2.0*x_2 + 3.0*x_4 <= 1.0$ which is equivalent to $-2.0*x_2 - 3.0*x_4 >= -1.0$

constraints = [
ContinuousLinearEqualityConstraint(
Expand Down

0 comments on commit e878a28

Please sign in to comment.