From eef21700485902ed9a92bd3095226e49c4611393 Mon Sep 17 00:00:00 2001
From: Bardhyl Miftari <bmiftari@MacBook-Pro-de-Bardhyl.local>
Date: Mon, 20 Feb 2023 11:02:08 +0100
Subject: [PATCH] update test

---
 test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test.py b/test.py
index 80c9e09..297f1ee 100644
--- a/test.py
+++ b/test.py
@@ -1011,7 +1011,7 @@ class GBOMLpyTest(unittest.TestCase):
         gboml_model.add_global_parameters(global_params)
         gboml_model.add_global_parameters([("electricity_price", 0.05)])
         gboml_model.build_model()
-        x, objective, status, solver_info = gboml_model.solve_cbc({"gap": [float, 10]})
+        x, objective, status, solver_info = gboml_model.solve_cbc(opt_dict={"gap": [float, 10]})
         f.close()
         sys.stdout = temp
         self.assertTrue(np.allclose(x, np.array(
-- 
GitLab