https://github.com/extrange/constraint
Hospital Timetable Scheduler using the Choco Constraint solver
https://github.com/extrange/constraint
Last synced: 7 months ago
JSON representation
Hospital Timetable Scheduler using the Choco Constraint solver
- Host: GitHub
- URL: https://github.com/extrange/constraint
- Owner: extrange
- Created: 2018-07-31T11:11:59.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-12-16T14:34:02.000Z (about 5 years ago)
- Last Synced: 2025-03-13T02:43:59.147Z (11 months ago)
- Language: Java
- Homepage:
- Size: 569 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hospital Timetable Scheduler
This program uses the Choco Constraint solver library to solve timetable allocations for a sample hospital duty planning scenario.
## An example:
Constraints:
* exactly 2 people on Saturday
* exactly 1 person on Mon-Fri and Sunday
* min 2 days break between duties
* between 3-4 duties per person per month
* at most 1 Saturday duty per month
* allocate duties fairly based on point system (Mon-Thu: 2, Fri: 3, Sat: 4, Sun: 3)
### Solution (see [SghOandG.java](/src/SghOandG.java) for source)
Numbers represent the person doing the duty e.g. 1 = person A, 2 = person B and so on

