Giter VIP home page Giter VIP logo

roster-wizard's Introduction

Roster Wizard

A rostering system that can handle staff requests and shift rules. It uses Google's OR-Tools CP-SAT Solver.

How it Works

  • Enter staff details
  • Enter skill mix rules
  • Enter shift sequence rules
  • Enter staff leave
  • Enter staff requests
  • Generate a roster that obeys the rules and maximises requests

More Information

Visit Roster Wizard

Roster Wizard

roster-wizard's People

Contributors

dependabot[bot] avatar gregcowell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

roster-wizard's Issues

Postgres - Authentication Error

While trying to use the migrate.py getting the following error.
"django.db.utils.OperationalError: connection to server at "db" (fd01::2), port 5432 failed: FATAL: password authentication failed for user "postgres""

Have already set all the env file and the same password was passed on the config file.

Sathya

Issue in generating the shift

Hi Team,

We have up the roster wizard and tried to generate the. shift for our use case, while going through your tutorail i can see max staff is missing in shift field, added the screenshot for reference also getting Could not generate roster, ensure staff details and rules are correct... Am i missing any thing here or did i need to add any config

Thanks in advance

Screenshot 2024-01-05 at 10 39 13 AM

Screenshot 2024-01-05 at 10 39 18 AM

Translation

Hi there, I would like to contribute and help to provide some internationalisation. I am fluent in German and English...We would have to add strings instead of fixed text in the HTML files

Yours Thomas

Cannot seem to deploy your container

ERROR: for roster_web_1 Cannot start service web: Mounts denied:
The path /opt/roster/static is not shared from the host and is not known to Docker.
Creating roster_celery_1 ... done
See https://docs.docker.com/docker-for-mac for more info.

ERROR: for web Cannot start service web: Mounts denied:
The path /opt/roster/static is not shared from the host and is not known to Docker.
You can configure shared paths from Docker -> Preferences... -> Resources -> File Sharing.
See https://docs.docker.com/docker-for-mac for more info.
ERROR: Encountered errors while bringing up the project.

Unable to load css

Hi, i have been receiving this error when pressing f12. Seems like webpage cannot load the css. Can anyone help me? Thanks

image

Solution is INFEASIBLE

Hi,

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.

Docker container

Can you provide a dockerfile and docker-compose to stand up this project?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.