blackopsrepl/meeting-scheduling-python
1
Meeting Scheduling (Python)
Schedule meetings between employees, where each meeting has a topic, duration, required and preferred attendees.
Prerequisites
- Install Python 3.11 or 3.12.
- Install JDK 17+, for example with Sdkman:
$ sdk install javaRun the application
- Git clone the solverforge-quickstarts repo and navigate to this directory:
$ git clone https://github.com/SolverForge/solverforge-quickstarts.git
...
$ cd solverforge-quickstarts/fast/meeting-scheduling-fast- Create a virtual environment:
$ python -m venv .venv- Activate the virtual environment:
$ . .venv/bin/activate- Install the application:
$ pip install -e .- Run the application:
$ run-app- Visit http://localhost:8080 in your browser.
- Click on the Solve button.
Test the application
- Run tests:
$ pytestProblem Description
Schedule meetings between employees, where:
- Each meeting has a topic, duration, required and preferred attendees.
- Each meeting needs a room with sufficient capacity.
- Meetings should not overlap with other meetings if they share resources (room or attendees).
- Meetings should be scheduled as soon as possible.
- Preferred attendees should be able to attend if possible.
More information
Visit solverforge.org.
