|
|
|
|
|
by johnisgood
617 days ago
|
|
I almost made ChatGPT write a Python program that creates a monthly work schedule (for imaginary workers) based on specific constraints (e.g. there are 10 workers, 2 shifts (morning and night), must work 40 hours per week, must have at least one weekend in a month off, 2 minimum workers per shift, no more than 3 consecutive working days, and so forth). I am not sure if I could make it give me a working solution, however, and I have not tried Claude, for example, and I have not tried to do it with other programming languages. Maybe. The issue was that it messed up the constraints and there were no feasible solutions, that said, it did give me a working program for this that had fewer constraints. |
|