From 05fd5fdaa95e130e7c65656724d21333af4b525d Mon Sep 17 00:00:00 2001 From: Aiden Swayne Date: Mon, 27 Nov 2023 12:26:28 -0500 Subject: [PATCH] added spacing --- linear_program.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linear_program.py b/linear_program.py index ae3ef38..76d3fc9 100644 --- a/linear_program.py +++ b/linear_program.py @@ -103,8 +103,10 @@ def calculate(floors=1, xLength=1, yLength=1): # no tree can be planted twice as much as any other tree constraints.append(oakTreeAcres>=(1/2)*eucalyptusTreeAcres) constraints.append(oakTreeAcres<=2*eucalyptusTreeAcres) + constraints.append(oakTreeAcres>=(1/2)*slashPineAcres) constraints.append(oakTreeAcres<=2*slashPineAcres) + constraints.append(eucalyptusTreeAcres>=(1/2)*slashPineAcres) constraints.append(eucalyptusTreeAcres<=2*slashPineAcres)