OptaPlanner continues as Timefold

Planning optimization made easy.

Timefold is the open source AI solver to optimize operations and scheduling in Java, Python or Kotlin. Timefold is a fork of OptaPlanner by its creator and other experts.

v1.7.0Feb 13th, 2024
  • NEC
  • e-switch Solutions
  • Equina
  • OptaZEN
  • HawkEye 360
  • NEC
  • e-switch Solutions
  • Equina
  • OptaZEN
  • HawkEye 360
  • NEC
  • e-switch Solutions
  • Equina
  • OptaZEN
  • HawkEye 360

Timefold can help you solve

  • Field Service Routing

    Optimizes routes for technicians or service workers to efficiently reach multiple locations, minimizing travel time and costs while maximizing customer satisfaction.

  • Employee scheduling

    Assigns shifts and tasks to workers to meet demand while balancing employee preferences, labor laws, and business requirements, aiming for optimal productivity and employee satisfaction.

  • Last Mile Delivery Routing

    Plans the most efficient routes for delivering goods from distribution centers to customers' doorsteps, considering factors like traffic, delivery windows, and package characteristics to minimize costs and delivery times.

  • Vehicle Routing (VRP)

    Determines the most efficient routes for a fleet of vehicles to visit multiple destinations, considering factors like distance, vehicle capacity, time windows, and customer preferences to optimize delivery or service operations.

  • Order picking

    Organizes the selection and retrieval of items from a warehouse or storage facility to fulfill customer orders efficiently, minimizing travel time and labor costs while ensuring accuracy and timely delivery.

  • Maintenance Scheduling

    Plans and schedules maintenance tasks for equipment, machinery, or infrastructure to prevent breakdowns, optimize performance, and minimize downtime, balancing maintenance costs with operational needs.

  • Job Shop Scheduling

    Allocates resources and schedules production tasks in manufacturing environments with diverse equipment and processes, aiming to minimize idle time, maximize throughput, and meet delivery deadlines.

  • Food packaging

    Designs efficient packaging processes for food products, considering factors like product integrity, shelf life, regulatory compliance, and cost-effectiveness, while ensuring food safety and quality standards are met.

  • Order Fulfillment Routing

    Coordinates the movement of goods through various stages of the fulfillment process, from receiving orders to picking, packing, and shipping, optimizing workflows to meet customer demands efficiently and accurately.

Recent updates

  • Fast Planning Optimization with the Recommended Fit API

    Discover how Timefold's Recommended Fit API offers swift, feasible adjustments to your plans, ensuring real-time adaptability to unexpected changes.

  • Partnership: NGA 911 and Timefold

    Timefold and US-based NGA partner to deliver timely life-saving assistance for 988 Suicide & Crisis Lifeline callers.

  • Newsletter 3: Explainable AI for Planning Optimization

    Discover how Timefold's ScoreAnalysis API builds trust in automated planning. And don't forget to join Timefold's first AMA on Youtube Live on March 19th!

  • Use Multiple Solvers in the Same Application

    Learn how to configure and inject multiple SolverManager instances in one application using Timefold Solver, tackling distinct planning problems seamlessly.

  • Build an AI-powered scheduling app with Quarkus and Timefold

    In this tutorial, we'll walk you through the steps of developing an advanced AI-powered appointment scheduling application using Quarkus and Timefold AI.

  • Newsletter 2: The past, present and future of OptaPlanner / Timefold

    When I started OptaPlanner 18 years ago, I couldn't dare to imagine that one day it would schedule millions of resources. It is amazing. This would not have been possible without the dedication, innovation, and high-quality work that each core and community contributor has brought to the table.

  • Code planning automation AI in Kotlin Notebooks

    In this tutorial we guide you through how to code your own planning automation AI in Kotlin Notebooks by leveraging the Timefold AI solver. Learn how Timefold can handle complex planning problems and optimize for them.

  • Generate the optimal soccer schedule with Timefold

    Learn how to code an automated tournament scheduling service with Timefold Solver

  • Build an AI-powered scheduling app with Spring Boot and Timefold

    In this tutorial we guide you through creating an AI-driven scheduling application using Spring Boot and Timefold AI. Learn how Timefold can handle complex planning problems and optimize for them.

  • Code automated maintenance scheduling in Java with Timefold

    In this video we explain how to code maintenance planning with Timefold, in Java. Ever experienced the joy of hitting a pothole? It’s a reminder of the importance of regular maintenance – not just for roads but for everything from elevators to aircrafts. But how do you ensure these essential services don’t fail when you need them the most? That's where maintenance scheduling come in - and it's more complex than you might think!

  • Newsletter 1: OptaPlanner team continues as Timefold

    Timefold Solver is the faster, Open Source fork of OptaPlanner. It's built by a dedicated Open Source company, co-founded by the OptaPlanner creator.

  • Migrate from score DRL to Constraint Streams

    Migrate from OptaPlanner's score DRL to Constraint Streams in Timefold Solver for better performance and maintenance.

  • Timefold Solver 0.8 reaches End Of Life

    Upgrade to Timefold Solver 1.x now! With the release of Timefold Solver 0.8.42, it has reached End of Life. Learn why and how to upgrade.

  • Partnership: e-switch Solutions and Timefold

    Swiss-based e-switch Solutions and Timefold announce a partnership to optimize maintenance and service management.

  • Timefold Team Days (fall 2023)

    Join us for an exclusive look behind the scenes of the Timefold's Solver Summit. Meet the team behind our groundbreaking solver technology and our company's success. Curious about joining our mission? Explore exciting career opportunities at https://jobs.timefold.ai and be part of our journey!

  • Mobile Workforce Planning AI - Dispatch field service technicians

    Planning a mobile workforce and making sure they are dispatched in the most optimal way. Saving fuel, drive time and more importantly increasing technician productivity. That's what Timefold Solver can do for you. Start building today.

  • Master Employee Shift Scheduling with AI: A Technical Guide to Timefold Software

    In this video we showcase how Timefold's robust constraint-based solver can be seamlessly integrated into your existing software systems, empowering you to automate and optimize shift planning for a workforce. Whether you're a developer or a tech-savvy manager, you'll find valuable insights on enhancing your operational efficiency. Solve your employee shift planning problem with Timefold.

  • Timefold Solver 1.4.0 brings explainable score

    Timefold Solver 1.4.0 introduces explainable scoring, allowing easy breakdown of solution scores by constraints for end-users. Now available with JSON serialization for easy integration.

  • Fueling Planning Optimization in Spring Boot

    Discover how Timefold transforms Spring Boot into a versatile planning powerhouse, tackling complex optimization challenges with ease. Explore the benefits and integration steps in this article. Time to supercharge your Spring Boot projects!

  • Unlocking the Power of Timefold: Community, Enterprise, Orbit

    Get a quick insight into Timefold's Offerings with Jente De Meyer, Timefold's Marketing Expert. Explore Timefold Community, Timefold Enterprise, and Orbit.

  • What do our employees say about Timefold Solver?

    Software engineers love the Timefold open source Solver our so much that they'll voluntarily get in front of the camera to talk about it.

  • Optimize the world for fun and profit By Geoffrey De Smet, Lukáš Petrovický

    Optimizing resource use is key for the continued survival of the human species. From reducing consumption of fossil fuels, to packing your week at Devoxx as much as possible, optimization problems are everywhere. In this deep dive, you’ll learn how to solve them with AI in Java. Optimization is hard. Really hard. All the computing power in the world won’t save you. You’ll have to work smarter, not harder. And we’ll demonstrate that using Timefold, an Apache-licensed Open Source solver. There will be live coding, there will be benchmarks, there will be science, and we can guarantee you will learn something new.

  • Order fulfillment routing

    Unlocking Efficiency in Order Fulfillment: The Perfect Blend of inventory allocation and Vehicle Routing. In the world of logistics, every order is a puzzle, and solving it requires precision. Join us to explore how we tackle this dual challenge head-on, optimizing stock allocation from multiple warehouses while orchestrating the most efficient routes for our vehicles.

  • Maximizing Factory Production Line Efficiency

    Learn how Timefold helps you to reduce setup and changeover costs to maximize efficiency, using food packaging assembly lines as an example. Whether you're in the food industry or any manufacturing field, these insights apply to supercharge your production line!

  • Code the Vehicle Routing Problem with Time Windows (VRPTW) in Java

    Today we explain how to solve the vehicle routing problem with time windows (VRPTW) with Timefold in Java. A step-by-step approach by our CTO and co-founder Geoffrey De Smet.

  • Code the Capacitated Vehicle Routing Problem (CVRP) in Java

    Learn how to solve the capacitated vehicle routing problem (CVRP) in Java with the help Timefold, an open-source solver! Follow along as we guide you through the process, from setting up the repository to customizing the code for your specific needs. Discover how to efficiently manage vehicle capacity constraints and minimize travel distances. Whether you’re a beginner or an experienced developer, this video will help you master vehicle routing problems with ease.

  • How fast is Java 21?

    Explore the performance of Java 21 against Java 17, revealing minor improvements in micro-benchmarks and real-world scenarios.

  • Solve the vehicle routing problem with time windows

    Learn to solve the vehicle routing problem (VRP) with time windows using Timefold Solver, incorporating customer availabilities as constraints.

  • VRP constraints: shift length, service time and lunch breaks

    We're thrilled to share a sneak peek of our upcoming educational video, aimed at demystifying the constraints in Vehicle Routing Problems (VRP). Today, we're spotlighting three essential factors: minimizing drive time, managing maximum shift times, and ensuring efficient lunch breaks. Stay tuned for more learnings when we release our full video.

  • Maintenance scheduling optimization

    Unlock the power of maintenance scheduling with Timefold and optimize the planning for maintenance technicians ⚙️🔧. Timefold's Planning Optimization software revolutionizes the way companies handle maintenance scheduling. Say goodbye to manual planning, tedious coordination, and the complexities of managing maintenance tasks.

  • Timefold Solver 1.0 is taking shape

    Timefold Solver 1.0.0 update: redesigned benchmarks, Constraint Streams enhancements, performance boosts, and bug fixes. Get a sneak peek before July release.

  • Optimize employee shift scheduling

    Unlock the power of employee shift rostering with Timefold with and optimise your employee planning 👩‍💼👨‍⚕️. Our Employee Rostering planning model saves countless hours manually scheduling shifts, handling employee availability, and juggling complex constraints. Discover how Timefold's solver tackles the challenges of employee rostering, creating schedules that not only meet your organization's requirements but also maximize productivity and employee satisfaction.

  • Optimize the Vehicle Routing Problem (VRP)

    Unlock the power of efficient Vehicle Routing (VRP) with and optimise your vehicle routing problem with Timefold 🚚✨. In this video, we dive into the world of Vehicle Routing Problems (VRP) and demonstrate what problems Timefold's advanced solver can tackle related to this. Our VRP software solution frees you of wasteful planning and reduces total drive time by up to 25%, saving on fuel costs, carbon emissions and staffing.

  • Upgrade OptaPlanner to Timefold

    In this tutorial, we'll show you how to effortlessly upgrade your OptaPlanner code to Timefold code in less than 2 minutes. Co-founded by Geoffrey De Smet, the creator of OptaPlanner, Timefold is revolutionary planning optimization software designed to supercharge your planning processes.

  • Timefold: the next chapter in operational planning optimization

    Belgian startup Timefold announce a fork of OptaPlanner.

  • OptaPlanner continues as Timefold

    Timefold Solver is the faster, Open Source fork of OptaPlanner. It's built by a dedicated Open Source company, co-founded by the OptaPlanner creator.

  • Timefold secures a 2 million euro investment from Smartfin VC

    Belgian startup Timefold secures a 2 million euro investment from Smartfin VC for AI-powered open source planning optimization.

  • Designing the Timefold logo

    Explore Timefold's logo creation journey, from concept to final design. Which logo would you choose?

Loved by developers, trusted by enterprises

Field Service Routing

Enterprises optimized their field service technicians routes

Every day their service technicians drive to locations across the country to perform field service jobs. Every job has skill requirements. Most visits have a limited time window. With this technology, enterprises reduced the driving time of their fleet by more than 25%. That significantly increased employee productivity, because technicians spend less time driving and more time working. It also lowered their fuel consumption noticeably.

  • 10k+

    technician vehicles

  • -25%

    driving time

  • -10M

    kg CO² emissions

Exploring Timefold: Optimizing Your Planning Experience

Experience a new era of planning optimization with Timefold. Dive into the world of efficient planning, enhanced performance, and user-centric solutions that empower you to excel in every aspect of your business.

  • Real world

    Many optimization solvers are designed for academic or isolated problems, such as the Traveling Salesman Problem, VRP, Bin Packing or Job Shop Scheduling.
    In reality, planning problems are more complex. They combine hard/soft constraints from different use cases and often include country or company specific constraints.

    Timefold was created to automate real world planning optimization with ease. Solve for hard, soft and other constraints. Reduce costs substantially, improve service quality, fulfill employee wishes and lower carbon emissions. Far more than expected.

  • Easy to use

    Traditionally, optimization solvers are the domain of mathematicians and expensive, specialized Operations Research consultants. You feed those solvers your data as number matrices and your constraints as mathematical equations.

    Timefold is build for programmers. You feed it your data as domain classes and define your constraints as code. Let us worry about the math inside the solver. Your code becomes self-explanatory. Integration with other APIs is straightforward.

    And when the business rules change constraints - they eventually always do - maintenance is easy.

  • Open source

    Timefold Community is Open Source software, released under the Apache License 2.0. Use it in your commercial software, for free. It's a complete and professional solver. We frequently release new features and fixes through Maven Central and Pypi.

    Our entire company believes in the power of open source to build high-quality software. Our team participates in the open source community and regularly contributes to other open source projects.

    To pay for Timefold Community development, we sell Timefold Enterprise: an extension with high-scalability features and enterprise support.

  • Scalable and fast

    Timefold is extremely fast. It combines performance tricks from metaheuristic algorithms, concurrent programming, database indexes and incremental (delta) calculations with native compilation support.

    But speed without scaling is irrelevant. The search space of planning problems scales exponentially to the size of the problem. The quality of a solver on a small dataset says nothing about that solver on a big dataset.

    Like other solvers, it's CPU-bound with little to no I/O. Unlike other solvers, memory consumption barely increases as you scale out, making it ideal for cloud deployments.

  • Operational fit

    Timefold is build for operational planning, not just strategic or tactical planning. We deeply understand that a schedule is living, breathing thing. That its requirements change over time. That planning agility is essential for great results.

    Therefore, Timefold handles:

    • Continuous planning: Publish a schedule every week, several weeks before execution.
    • Pinning: Your user is still in control. Timefold plans around their manual assignments.
    • Non-disruptive replanning: Handle changing circumstances & minimize impact on existing solutions.
    • Overconstrained planning: When there are not enough resources, suggest alternative solutions.
    • Real-time planning: React on real-time disruptions of the plan within milliseconds.
  • Compatible

    Timefold is compatible with your favorite technology stack & cloud providers.

    • Microsoft Azure
    • Google Cloud
    • Java
    • Python
    • Kotlin
    • Spring
    • Quarkus
    • Maven
    • Gradle
    • PyPi
    • Docker
    • Kubernetes
    • Amazon Web Services (AWS)
    • Microsoft Azure
    • Google Cloud
    • Java
    • Python
    • Kotlin
    • Spring
    • Quarkus
    • Maven
    • Gradle
    • PyPi
    • Docker
    • Kubernetes
    • Amazon Web Services (AWS)

Optimize your planning with Timefold today

Take a look at our guides and conquer your first planning problem today. Explore our quickstart examples and copy/paste it to get started. Customize it, integrate it, deploy it, scale it and then watch how your organization becomes more efficient.

Quickstart repo

Meet Timefold at

  • Devoxx Belgium 2024

    Flag of BE
    Antwerp, Belgium
    October 7th, 2024 - October 11th, 2024
  • KotlinConf 2024

    Flag of DK
    Copenhagen, Denmark
    May 23rd, 2024 - May 24th, 2024
  • BeJUG

    Flag of BE
    Ghent, Belgium
    December 5th, 2023
  • Slush

    Flag of FI
    Helsinki, Finland
    November 29th, 2023 - December 1st, 2023
  • Devoxx Belgium 2023

    Flag of BE
    Antwerp, Belgium
    October 2nd, 2023
  • Fosdem

    Flag of BE
    Brussels, Belgium
    February 3rd, 2024
  • Java 21 Launch Event

    Online, Remote
    September 19th, 2023

Sign up for our newsletter

And stay up to date with announcements, the latest news, events, roadmap progress & product updates from Timefold!

We care about the protection of your data. Read our Privacy Policy.