From 3fa1bac2688fe817b31bf4210ff8775e966d3a51 Mon Sep 17 00:00:00 2001 From: Liam Swayne Date: Sun, 26 Nov 2023 16:59:47 -0500 Subject: [PATCH] update cases --- linear_program.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linear_program.py b/linear_program.py index 6b1341d..2354029 100644 --- a/linear_program.py +++ b/linear_program.py @@ -65,8 +65,8 @@ def calculate(floors=1, xLength=1, yLength=1): logs.append("cost (measured in USD):") logs.append(cost.value) logs.append("\ncolumns (measured in quantity):") - logs.append("Wood columns:\n"+str(woodColumns.value)) - logs.append("Steel columns:\n"+str(steelColumns.value)) + logs.append("Wood columns:\n"+str(cp.sum(woodColumns.value))) + logs.append("Steel columns:\n"+str(cp.sum(steelColumns.value))) logs.append("\ncarbon offsets (measured in acres):") logs.append(slashPineAcres.value)