Skip to content

Commit

Permalink
add nonnegativity
Browse files Browse the repository at this point in the history
  • Loading branch information
LiamSwayne committed Nov 27, 2023
1 parent 1b4adeb commit 4792406
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linear_program.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def calculate(floors=1, xLength=1, yLength=1):
# nonnegativity
constraints.append(aluminumColumns >= 0)
constraints.append(steelColumns >= 0)
constraints.append(slashPineAcres >= 0)
constraints.append(oakTreeAcres >= 0)
constraints.append(slashPineAcres >= 0)

# create and solve problem
Expand Down

0 comments on commit 4792406

Please sign in to comment.