OptaPlanner logo
  • Download
  • Learn
    • Documentation
    • Videos

    • Use cases
    • Compatibility
    • Testimonials and case studies
  • Get help
  • Blog
  • Source
  • Team
  • Services
  • Star
  • T
  • L
  • F
  • YT
Fork me on GitHub

Source code

GitHub repositories

The OptaPlanner team takes care of these repositories:

optaplanner (engine)

The source code of the OptaPlanner engine, examples and documentation.
https://github.com/kiegroup/optaplanner

To build from source:

  1. Get the source code locally with Git:

     $ git clone https://github.com/kiegroup/optaplanner.git
     ...
  2. Build it with Maven:

     $ cd optaplanner
     $ mvn clean install -DskipTests
     ...

    The first time, Maven might take a lot of time, because it needs to download jars.

  3. Run the examples:

     $ cd optaplanner-examples
     $ mvn exec:java
     ...
  4. Edit the sources in your favorite IDE (such as IntelliJ IDEA, Eclipse or VSCode).

  5. Optional: Write some documentation in AsciiDoc.

optaplanner-quickstarts

The source code for each Quick Start.
https://github.com/kiegroup/optaplanner-quickstarts

optaplanner-website (www.optaplanner.org)

The source code for this website and the presentation slides.
https://github.com/kiegroup/optaplanner-website

To build from source:

  1. Get the source code locally with Git:

     $ git clone https://github.com/kiegroup/optaplanner-website.git
     ...
  2. Build it with Maven (which uses JBake underneath)

     $ cd optaplanner-website
     $ mvn clean generate-resources
     ...
  3. Show it in a browser:

     $ firefox target/website/index.html
     ...
  4. Edit the AsciiDoc sources.

Contribute

Want to help improve our project? GitHub Pull Requests are welcome!
If you don’t know where to start, take a look at the list of starter issues for new contributors.

If you’ve found a bug and just want to report it, please open a ticket in our issue tracker with a reproducer.

Latest release
  • 8.35.0.Final released
    Fri 3 March 2023
Upcoming events
    Add event / Archive
Latest blog posts
  • OptaPlanner 9 is coming
    Tue 21 February 2023
    Lukáš Petrovický
  • Farewell - a new lead
    Tue 15 November 2022
    Geoffrey De Smet
  • Run OptaPlanner workloads on OpenShift, part II
    Wed 9 November 2022
    Radovan Synek
  • Bavet - A faster score engine for OptaPlanner
    Tue 6 September 2022
    Geoffrey De Smet
  • Run OptaPlanner workloads on OpenShift, part I.
    Thu 9 June 2022
    Radovan Synek
  • OptaPlanner deprecates score DRL
    Thu 26 May 2022
    Lukáš Petrovický
  • Real-time planning meets SolverManager
    Mon 7 March 2022
    Radovan Synek
  • Blog archive
Latest videos
  • The Vehicle Routing Problem
    Fri 23 September 2022
    Geoffrey De Smet
  • Introduction to OptaPlanner AI constraint solver
    Thu 25 August 2022
    Anna Dupliak
  • On schedule: Artificial Intelligence plans that meet expectations
    Sat 23 July 2022
    Geoffrey De Smet
  • Host your OptaPlanner app on OpenShift (Kubernetes)
    Mon 7 February 2022
    Geoffrey De Smet
  • OptaPlanner - A fast, easy-to-use, open source AI constraint solver for software developers
    Mon 31 January 2022
  • Order picking planning with OptaPlanner
    Fri 31 December 2021
    Anna Dupliak
  • AI lesson scheduling on Quarkus with OptaPlanner
    Thu 18 November 2021
    Geoffrey De Smet
  • Video archive

OptaPlanner is open. All dependencies of this project are available under the Apache Software License 2.0 or a compatible license. OptaPlanner is trademarked.

This website was built with JBake and is open source.

Community

  • Blog
  • Get Help
  • Team
  • Governance
  • Academic research

Code

  • Build from source
  • Issue tracker
  • Release notes
  • Upgrade recipes
  • Logo and branding
CC by 3.0 | Privacy Policy
Sponsored by Red Hat