Toggle navigation OptaPlanner logo
  • Home
  • Download
  • Learn
    • Documentation
    • Videos
    • Slides
    • Training
    • Use cases
    • Testimonials and Case Studies
  • Get Help
  • Source
  • Team
  • Services
  • @OptaPlanner Fb
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 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 NetBeans).

  5. Optional: Use a Java profiler (such as JProfiler or VisualVM).

  6. Optional: Write some documentation in AsciiDoc.

optaweb-employee-rostering

The source code for the employee rostering web application reference architecture.
https://github.com/kiegroup/optaweb-employee-rostering

optaweb-vehicle-routing

The source code for the vehicle routing web application reference architecture.
https://github.com/kiegroup/optaweb-vehicle-routing

optaplanner-wb (workbench)

The source code for OptaPlanner Workbench.
https://github.com/kiegroup/optaplanner-wb

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 git@github.com:kiegroup/optaplanner-website.git
     ...
  2. Build it with Awestruct:

     $ cd optaplanner-website
     $ ./build.sh clean build
     ...
  3. Show it in a browser:

     $ firefox _site/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 blog posts
  • How much faster is Java 11?
    Thu 17 January 2019
     Radovan Synek
  • Red Hat Mobile Portfolio Truck dodges storms while keeping Sales happy with OptaPlanner
    Mon 19 November 2018
     Sudheer Chekka
  • Unit testing constraints with business input from Excel or LibreOffice
    Tue 21 August 2018
     Musa Talluzi
  • How to defeat gerrymandering and create fair elections
    Wed 25 July 2018
     Justin Goldsmith
  • A giant leap forward with multithreaded incremental solving
    Tue 3 July 2018
     Geoffrey De Smet
  • Behind the scenes of Red Hat Summit 2018 scheduling
    Wed 23 May 2018
     Geoffrey De Smet
  • Scheduling Voxxed Days Zurich 2018 with OptaPlanner
    Mon 19 February 2018
     Mario Fusco
Archive
Latest releases
  • 7.17.0.Final released
    Thu 31 January 2019
Upcoming events
  • Voxxed Zurich
    Zürich, Switzerland - Tue 19 March 2019
    • A.I. constraint optimization with OptaPlanner: TSP, Vehicle Routing and Employee Rostering by Geoffrey De Smet
  • Red Hat Summit
    Boston, MA, USA - Tue 7 May 2019
Add event / Archive

KIE projects

  • Drools rule engine
  • OptaPlanner constraint solver
  • jBPM workflow engine

Community

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

Code

  • Build from source
  • Submit a bug
  • License (Apache)
  • Release notes
  • Upgrade recipes
Sponsored by
Red Hat
More coder content at
Red Hat Developers
© Copyright 2006-2019, Red Hat, Inc. or third-party contributors - Privacy statement - Terms of use - Website info