I tried exactly what you have mentioned on your video and try to generate a roster. I am ending up with the following messag.
2023-12-29 17:23:34 [2023-12-29 11:53:34,218: INFO/ForkPoolWorker-8] Solution is INFEASIBLE
2023-12-29 17:23:34 [2023-12-29 11:53:34,218: INFO/ForkPoolWorker-8] No feasible solution, raising exception...
2023-12-29 17:23:34 [2023-12-29 11:53:34,220: ERROR/ForkPoolWorker-8] Task rosters.tasks.generate_roster[fa7beb2f-e82c-4482-a513-82b1acc271f3] raised unexpected: SolutionNotFeasible('No feasible solutions.')
2023-12-29 17:23:34 Traceback (most recent call last):
2023-12-29 17:23:34 File "/usr/local/lib/python3.11/site-packages/celery/app/trace.py", line 477, in trace_task
2023-12-29 17:23:34 R = retval = fun(*args, **kwargs)
2023-12-29 17:23:34 ^^^^^^^^^^^^^^^^^^^^
2023-12-29 17:23:34 File "/usr/local/lib/python3.11/site-packages/celery/app/trace.py", line 760, in __protected_call__
2023-12-29 17:23:34 return self.run(*args, **kwargs)
2023-12-29 17:23:34 ^^^^^^^^^^^^^^^^^^^^^^^^^
2023-12-29 17:23:34 File "/roster/rosters/tasks.py", line 15, in generate_roster
2023-12-29 17:23:34 roster.create()
2023-12-29 17:23:34 File "/roster/rosters/logic.py", line 637, in create
2023-12-29 17:23:34 self._solve_roster()
2023-12-29 17:23:34 File "/roster/rosters/logic.py", line 591, in _solve_roster
2023-12-29 17:23:34 raise SolutionNotFeasible("No feasible solutions.")
2023-12-29 17:23:34 rosters.logic.SolutionNotFeasible: No feasible solutions.
I infact tried some combination still its failing. I am trying to prepare the roster for a 24/7 shift planner with 3 routine ( morning, afternoon,night) with 3 -4 enginners per shift.
Please help.