.
This commit is contained in:
+2
-2
@@ -353,7 +353,7 @@ class TestDemoRotaClear:
|
||||
self.Rota.build_workers()
|
||||
self.Rota.build_model()
|
||||
|
||||
solver_options = {"ratio": 0.1, "seconds": 1000, "threads": 10}
|
||||
solver_options = {"seconds": 1000, "threads": 10}
|
||||
|
||||
self.Rota.solve_model(options=solver_options)
|
||||
self.Rota.export_rota_to_html("test4")
|
||||
@@ -682,7 +682,7 @@ class TestLimitConstraints:
|
||||
# Rota.constraint_options["balance_nights_across_sites"] = False
|
||||
# Rota.constraint_options["balance_shifts_over_workers"] = False
|
||||
#Rota.constraint_options["balance_shifts_quadratic"] = True
|
||||
Rota.build_and_solve(options={"ratio": 0.1})
|
||||
Rota.build_and_solve(options={})
|
||||
|
||||
Rota.export_rota_to_html("constraint_limit_grades")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user