Giter VIP home page Giter VIP logo

timefold-solver's Introduction

timefold logo

Planning optimization made easy.
timefold.ai

Maven artifact License JVM support Commit Activity

Stackoverflow GitHub Discussions GitHub Issues

Build from source

  1. Install JDK 17+ and Maven 3+, for example with Sdkman:

    $ sdk install java
    $ sdk install maven
  2. Git clone this repository:

    $ git clone https://github.com/TimefoldAI/timefold-solver.git
    $ cd timefold-solver
  3. Build it from source:

    $ mvn clean install -Dquickly
  4. Run the examples:

    $ cd examples
    $ mvn exec:java
  5. 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: ai.timefold.solver.examples.app.TimefoldExamplesApp

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

    • Program arguments: (none)

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

    • Use classpath of module: timefold-solver-examples

Contribute

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

The CI checks against your PR to ensure that it doesn’t introduce errors. If the CI identifies a potential problem, our friendly PR maintainers will help you resolve it.

Code style

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.

Build the Timefold Solver project

Use one of the following ways to build this 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 in the docs directory creates asciidoctor documentation docs/target/html_single/index.html (~2 min)

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

Timefold Solver was forked on 20 April 2023 from OptaPlanner, which was entirely Apache-2.0 licensed (a permissive license).

Timefold Solver is a derivative work of OptaPlanner, which includes copyrights of the original creator, Red Hat Inc., affiliates and contributors, that were all entirely licensed under the Apache-2.0 license. Every source file has been modified.

timefold-solver's People

Contributors

ge0ffrey avatar triceo avatar rsynek avatar yurloc avatar oskopek avatar radtriste avatar christopher-chianelli avatar mdproctor avatar dependabot[bot] avatar mbiarnes avatar wlaun avatar snurkabill avatar etirelli avatar krisv avatar mcimbora avatar ginxo avatar michaelneale avatar dupliaka avatar rikkola avatar enzhao avatar lampajr avatar bsig-gh-bot avatar kie-ci avatar mariofusco avatar bradh avatar marianmacik avatar lczmdr avatar psiroky avatar emmurphy1 avatar irooskov avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.