From 4a98e9c377102505e4a8121a0579d49e35876fd7 Mon Sep 17 00:00:00 2001 From: Liam Swayne Date: Tue, 21 Nov 2023 16:08:17 -0500 Subject: [PATCH] remove solver specification --- linear_program.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linear_program.py b/linear_program.py index dbd8cb7..d200e47 100644 --- a/linear_program.py +++ b/linear_program.py @@ -54,7 +54,7 @@ def calculate(floors=1, xLength=1, yLength=1): # create and solve problem problem = cp.Problem(cp.Maximize(cost), constraints) - problem.solve(solver=cp.GUROBI,verbose = True) + problem.solve(verbose = True) logs.append("Parameters given: " + str(floors) + " floor, " + str(xLength) + " tile x length, " + str(yLength) + " tile y length.") logs.append("cost (measured in USD):")