TimefoldAI/timefold-solver

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

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 43 minutes ago
Added to GitGenius on May 2nd, 2023
Created on March 28th, 2023
Open Issues & Pull Requests: 103 (+0)
Number of forks: 225
Total Stargazers: 1,761 (+1)
Total Subscribers: 23 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 1.9 hours
Mean response time: 60.9 days
90th percentile: 216.9 days
Tracked items: 324

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 85% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "component/docs" is answered fastest, typically in under an hour, while "language/python" waits about 10 days. 49% of tracked open issues have had no activity in three months. Only 7% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 92
New in 7 days: 0
Closed in 7 days: 1
Avg open age: 371 days
Stale 30+ days: 84
Stale 90+ days: 66

Recent activity

Opened in 7 days: 0
Closed in 7 days: 1
Comments in 7 days: 0
Events in 7 days: 3

Top labels

  • component/docs (52)
  • process/needs triage (44)
  • language/python (40)
  • build and release (23)
  • resolution/invalid (16)
  • component/migration (12)
  • component/service (12)
  • resolution/wontfix (11)

Detailed Description

Timefold Solver is an open source constraint solver library for Java and Kotlin designed to optimize complex planning and scheduling problems. The project addresses real-world operational challenges such as vehicle routing, employee rostering, maintenance scheduling, task assignment, school timetabling, cloud optimization, conference scheduling, and job shop scheduling. Developed by the original OptaPlanner team, the solver applies artificial intelligence and constraint programming techniques to find efficient solutions to combinatorial optimization problems that would be computationally expensive or impossible to solve through brute force methods.

The repository is written primarily in Java and requires JDK 21 or higher for building from source. It is distributed through Maven Central, making it straightforward for developers to integrate into their projects. The codebase supports both Java and Kotlin, providing flexibility for teams using either language. The project maintains active community engagement through GitHub Discussions and a dedicated Discord server, indicating a commitment to user support and collaboration.

Timefold Solver is available in three editions: the Community Edition under Apache-2.0 license in this repository, plus commercial Plus and Enterprise editions. The Community Edition is a derivative work of OptaPlanner, forked on April 20, 2023, with every source file modified while maintaining the original Apache-2.0 licensing from its predecessor. This heritage provides a stable foundation built on years of optimization solver development.

The solver addresses the Vehicle Routing Problem, Capacitated Vehicle Routing Problem, and Vehicle Routing Problem with Time Windows, among other classic operations research challenges. It enables developers to model complex constraints and objectives, then leverages optimization algorithms to discover high-quality solutions efficiently. The project's classification across machine learning, optimization algorithms, constraint solving, and decision-making domains reflects its sophisticated approach to planning problems that require balancing multiple competing objectives and constraints.