Skip to content

SolverForge/solverforge-quickstarts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SolverForge Quickstarts

This repository contains quickstarts for SolverForge, an AI constraint solver and framework for Rust and Python. It shows different use cases and basic implementations of constraint solving. The legacy (Timefold-based) quicktarts have been moved to legacy.

Overview

Use Case Notable Solver Concepts
🚚 Vehicle Routing Chained Through Time, Shadow Variables
🧑‍💼 Employee Scheduling Load Balancing
🛠️ Maintenance Scheduling TimeGrain, Shadow Variable, Variable Listener
🛒 Order Picking Chained Planning Variable, Shadow Variables
👥 Meeting Scheduling TimeGrain

Note

The implementations in this repository serve as a starting point and/or inspiration when creating your own application. SolverForge is a library and does not include a UI. To illustrate these use cases a rudimentary UI is included in these quickstarts.

Use cases

🚚 Vehicle Routing

Find the most efficient routes for vehicles to reach visits, considering vehicle capacity and time windows when visits are available. Sometimes also called "CVRPTW".

Vehicle Routing Screenshot

Tip

Check out our off-the-shelf model for Field Service Routing. This model goes beyond basic Vehicle Routing and supports additional constraints such as priorities, skills, fairness and more.


🧑‍💼 Employee Scheduling

Schedule shifts to employees, accounting for employee availability and shift skill requirements.

Employee Scheduling Screenshot

Tip

Check out our off-the-shelf model for Employee Shift Scheduling. This model supports many additional constraints such as skills, pairing employees, fairness and more.


🛠️ Maintenance Scheduling

Schedule maintenance jobs to crews over time to reduce both premature and overdue maintenance.

Maintenance Scheduling Screenshot


🛒 Order Picking

Generate an optimal picking plan for completing a set of orders.

Order Picking Screenshot


👥 Meeting Scheduling

Assign timeslots and rooms for meetings to produce a better schedule.

Meeting Scheduling Screenshot


Legal notice

This version of SolverForge is inspired on a repo that was forked on 03 August 2025 from the original Timefold Quickstarts, which was entirely Apache-2.0 licensed (a permissive license). Derivative work is limited to the legacy/ folder and the original fork is available as an archive.

The original Timefold Quickstarts was forked on 20 April 2023 from OptaPlanner Quickstarts.

This version of SolverForge Quickstarts is inspired on the original Timefold Quickstarts and OptaPlanner Quickstarts, which includes copyrights of the original creators, Timefold AI, Red Hat Inc., affiliates, and contributors, that were all entirely licensed under the Apache-2.0 license, for the legacy/ folder exclusively. Every source file has been modified.

About

Quickstarts for SolverForge

Resources

License

Stars

Watchers

Forks

Sponsor this project