Skip to content

Latest commit

 

History

History
132 lines (92 loc) · 7.07 KB

README.adoc

File metadata and controls

132 lines (92 loc) · 7.07 KB
optaPlannerLogo

Maven artifact Stackoverflow Join Zulip Chat Commit Activity Livense JVM support Maven Code size

Reliability Rating Security Rating Maintainability Rating Coverage

A fast, easy-to-use, open source AI constraint solver for software developers

Looking for Quickstarts?

OptaPlanner’s quickstarts are located in the optaplanner-quickstarts repository.

Quick development start

To build and run from source:

$ mvn clean install -Dquickly
$ cd optaplanner-examples
$ mvn exec:java

To develop with IntelliJ IDEA, Eclipse or VSCode, open the root pom.xml as a new project and configure a Run/Debug configuration like this:

  • Type: Application

  • Main class: org.optaplanner.examples.app.OptaPlannerExamplesApp

  • VM options: -Xmx2G -server (memory only needed when using the big datasets in the examples)

  • Program arguments: (none)

  • Working directory: $MODULE_DIR$ (must resolve to optaplanner-examples directory)

  • Use classpath of module: optaplanner-examples

Contributing to OptaPlanner

This is an open source project, and you are more than welcome to contribute ❤️!

  • If you’re just starting out with OptaPlanner and want to contribute, take a look at our starter issues. They’re specifically chosen to be easier for first time contributors.

  • If you want to contribute or start an opinionated discussion, join our discussion or send an e-mail directly to [email protected].

  • If you want to submit an issue, check out the OptaPlanner Jira project.

Time to make a change?

Every change must be submitted through a GitHub pull request (PR). OptaPlanner uses continuous integration (CI). The OptaPlanner CI runs checks against your branch after you submit the PR to ensure that your PR doesn’t introduce errors. If the CI identifies a potential problem, our friendly PR maintainers will help you resolve it.

Contributing

  1. Fork it (https://github.com/kiegroup/optaplanner).

  2. Create your feature branch: (git checkout -b feature).

  3. Commit your changes with a comment: (git commit -am 'Add some feature').

  4. Push to the branch to GitHub: (git push origin feature).

  5. Create a new pull request.

Code standards

Your code is automatically formatted according to the Import and Code Style conventions during every Maven build. CI checks enforce those conventions too, so be sure to build your project with maven before creating your PR:

mvn clean install

For information about how to set up code style checks, see IDE Setup Instructions.

Building your OptaPlanner project

Use one of the following ways to build your OptaPlanner project:

  • 🚀 build-fast: mvn clean install -Dquickly skips any checks and code analysis (~1 min)

  • 🔨 build-normally: mvn clean install runs tests, checks code style, skips documentation (~17 min)

  • 🧾 build-doc: mvn clean install at optaplanner/optaplanner-docs creates asciidoctor documentation target/optaplanner-docs-*/html_single/index.html (~2 min)

  • 🦾 build-all: mvn clean install -Dfull runs all checks + creates documentation and distribution files (~20 min)

OptaPlanner CI status

You can check the CI status of the OptaPlanner repositories from the Chain Status webpage.

Jenkins CI Jobs (need VPN access)

Interesting Jenkins CI jobs (need VPN access):