Employee Scheduling (Rust)
Build efficient employee scheduling with SolverForge’s native Rust constraint solver
Legacy Implementation Guides
These quickstart guides use solverforge-legacy, a fork of Timefold 1.24 that bridges Python to Java via JPype. This legacy implementation is already archived and will no longer be maintained once SolverForge’s native Python bindings are production-ready.
SolverForge has been completely rewritten as a native constraint solver in Rust, with its own solving engine built from scratch. These guides are preserved as:
The JPype bridge and Timefold-based architecture described in these guides do not apply to current SolverForge.
Native Python bindings for the Rust implementation are under active development.
Assign staff to shifts based on skills and availability. Perfect for learning core optimization concepts. [Start Tutorial →](employee-scheduling/)
Find optimal times and rooms for meetings while avoiding conflicts. [Start Tutorial →](meeting-scheduling/)
Plan delivery routes that minimize travel time with capacity constraints. [Start Tutorial →](vehicle-routing/)
Schedule lessons to rooms and timeslots without teacher or room conflicts. [Start Tutorial →](school-timetabling/)
Select stocks for a diversified portfolio while maximizing expected returns. [Start Tutorial →](portfolio-optimization/)
Place virtual machines on servers respecting capacity, affinity, and consolidation goals. [Start Tutorial →](vm-placement/)
Build a solver using the core Rust library directly. For advanced users interested in the internals. [Start Tutorial →](rust-quickstart/)
This page covers:
The repository is organised so you can choose between pedagogical, reference implementations and optimized, performance-minded variants:
legacy/ — Refactored quickstarts that minimize runtime overhead by constraining Pydantic to the API boundary and using lighter-weight models during solver moves.benchmarks/ — Benchmarks, results and a short performance report comparing implementations and use cases.Common quickstarts available now:
legacy/meeting-scheduling-fastlegacy/vehicle-routing-fastlegacy/employee-scheduling-fastlegacy/portfolio-optimization-fastlegacy/vm-placement-fastEach use case folder includes a README describing how to run the example, expected inputs, and any implementation-specific details.
Typical requirements (may vary per quickstart):
Some examples expose a small FastAPI UI or HTTP API and will list FastAPI and related packages in their requirements.txt or pyproject.toml.
Clone or download the SolverForge quickstarts repository.
Create and activate a virtual environment:
python -m venv .venvsource .venv/bin/activatepython -m venv .venv.\\.venv\\Scripts\\activateInstall dependencies from the chosen quickstart directory:
pip install -r requirements.txtpyproject.toml instructions if provided.Each quickstart README documents any extra dependencies or optional tooling.
Most quickstarts offer one or both run modes:
To try a quick example:
legacy/meeting-scheduling-fast).python -m <module> or uvicorn for FastAPI-based examples.python run_demo.py or similar CLI entrypoints described in the README.Check these README files for concrete run commands:
legacy/vehicle-routing/README.MDlegacy/vehicle-routing-fast/README.MDlegacy/meeting-scheduling-fast/README.adoclegacy/employee-scheduling-fast/README.MDPerformance-focused work and benchmark artifacts live in the benchmarks/ folder:
benchmarks/results_meeting-scheduling.mdbenchmarks/results_vehicle-routing.mdbenchmarks/report.mdbenchmarks/ for performance comparisons and technical rationale.This repository derives from prior quickstarts and carries permissive licensing details documented in the top-level README and LICENSE files. Refer to those files for full copyright and licensing information.
Build efficient employee scheduling with SolverForge’s native Rust constraint solver
A comprehensive quickstart guide to understanding and building intelligent employee scheduling with SolverForge
A comprehensive quickstart guide to understanding and building intelligent stock portfolio optimization with SolverForge
A comprehensive quickstart guide to understanding and building intelligent virtual machine placement optimization with SolverForge
A comprehensive quickstart guide to understanding and building intelligent meeting scheduling with SolverForge
A comprehensive quickstart guide to understanding and building intelligent vehicle routing with SolverForge
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.