Skip to content

The open source Solver AI for Java, Python and Kotlin to optimize scheduling and routing. Solve the vehicle routing problem, employee rostering, task assignment, maintenance scheduling and other planning problems.

License

Notifications You must be signed in to change notification settings

TimefoldAI/timefold-solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3278ef6 · Mar 6, 2025
Mar 2, 2025
Jul 17, 2024
Feb 26, 2025
Mar 3, 2025
Mar 4, 2025
Mar 6, 2025
Mar 5, 2025
Jan 12, 2025
Feb 25, 2025
Mar 4, 2025
Mar 4, 2025
Nov 11, 2024
Sep 8, 2023
May 16, 2023
Jul 17, 2024
Jul 17, 2024
Jul 23, 2021
Jul 17, 2024
Feb 8, 2025
Jul 17, 2024
Jan 15, 2025
Jul 17, 2024
Jul 17, 2024
Mar 3, 2025
Jul 17, 2024
Jul 17, 2024
Nov 11, 2024

Repository files navigation

timefold logo

Planning optimization made easy.
timefold.ai

Stackoverflow GitHub Discussions

Commit Activity GitHub Issues

Reliability Rating Security Rating Maintainability Rating Coverage

Timefold Solver is an AI constraint solver for Java, Python and Kotlin. You can use Timefold Solver to optimize the Vehicle Routing Problem, Employee Rostering, Maintenance Scheduling, Task Assignment, School Timetabling, Cloud Optimization, Conference Scheduling, Job Shop Scheduling and many more planning problems.

Developed by the original OptaPlanner team, our aim is to free the world of wasteful planning.

Get started with Timefold Solver in Java

Build from source

  1. Install JDK 17+ and Maven 3.9+, for example with Sdkman:

    $ sdk install java
    $ sdk install maven
  2. Git clone this repository:

    $ git clone https://github.com/TimefoldAI/timefold-solver.git
    $ cd timefold-solver
  3. Build it from source:

    $ mvn clean install -Dquickly

Contribute

This is an open source project, and you are more than welcome to contribute! For more, see Contributing.

Editions

There are 2 editions of Timefold Solver:

Key Features of Timefold Solver Enterprise Edition (EE)

  • Multi-threaded Solving: Experience enhanced performance with multi-threaded solving capabilities.

  • Nearby Selection: Get better solutions quicker, especially with spatial problems.

  • Dedicated Support: Get direct support from the Timefold team for all your questions and requirements.

Licensing and Usage

Unlike the Apache-2.0 licensed Community Edition in this repo, the Enterprise Edition is not open source. If you wish to use the Enterprise Edition in a production environment, please contact Timefold to obtain the appropriate license.

Timefold Solver was forked on 20 April 2023 from OptaPlanner, which was entirely Apache-2.0 licensed (a permissive license).

Timefold Solver is a derivative work of OptaPlanner and OptaPy, which includes copyrights of the original creator, Red Hat Inc., affiliates, and contributors, that were all entirely licensed under the Apache-2.0 license. Every source file has been modified.