Skip to content
Snippets Groups Projects
Commit eef21700 authored by Bardhyl Miftari's avatar Bardhyl Miftari
Browse files

update test

parent 446a9259
No related branches found
Tags v0.1.8
No related merge requests found
Pipeline #11942 passed
......@@ -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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment