Assign people to shifts and beds to produce a better schedule for volunteers who need to sleep.
- Clone the repository.
- Make sure you have the Java Development Kit installed - OpenJDK 18 Download.
- Make sure you have Maven installed - Maven Download.
- You can develop in VSCode at the root of the repo or in Eclipse/IntelliJ by importing a Maven project (
pom.xml
).
Start the application with Maven:
mvn exec:java
Export the application to a .jar
file:
mvn clean install
The jar will be in the target
folder. Make sure to use the withdependencies
one.
There are a few places where code can be commented out or back in depending on desired behavior.
- Static shift bed population: Sometimes it is useful to reverse the order of the search.
Launch the application and select the "example" folder.
Visit https://www.optaplanner.org/[www.optaplanner.org] for documentation on the constraint solving library.