Choco VS OptaPlanner

Compare Choco vs OptaPlanner and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
Choco OptaPlanner
4 30
668 133
1.0% 15.4%
8.8 8.0
3 months ago 3 days ago
Java Java
BSD 4-Clause "Original" or "Old" License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Choco

Posts with mentions or reviews of Choco. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-04-27.
  • Constraint Programming (2020)
    1 project | news.ycombinator.com | 16 Apr 2023
    There are quite a few out there. I played with gecode as well as https://choco-solver.org/ which I found intuitive and fun to use.
  • How to Corrupt an SQLite Database File
    1 project | news.ycombinator.com | 30 Apr 2022
    I personally doesn't get surprised by POSIX to consider it's violating this "least surprise" amount.

    Instead, for example Java has given me much more surprises, and at catastrophic levels. I was using Choco Solver [0] back in the day, and I created two instances of it, attached to different classes. Which is perfectly normal, right?

    Somehow they've cross linked between these two instances, affected the results they have computed, and created persistent memory leaks which needed system reboots to claim back. Java should be immune to that, but no.

    Preventing that needed to run only one instance of Choco, which limited my performance greatly. Luckily, the system had a queue/consumer structure, so running only one didn't need extensive changes.

    [0]: https://choco-solver.org/

  • Constraint Programming: Solving Sudoku with Choco Solver library
    2 projects | dev.to | 27 Apr 2021
    Sudoku is one of these types of problems, but it has very simple rules, so it’s a nice playground to try out different ways to solve graph colouring problems. This post outlines a solution using constraint programming with choco solver.
  • backtrack-rs: combinatorial search library, help me improve it!
    3 projects | /r/rust | 27 Feb 2021
    - Choco (https://choco-solver.org/): state of the art trailing solver, heavily tested, easy to get started with and actively maintained. Written in Java.

OptaPlanner

Posts with mentions or reviews of OptaPlanner. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-23.

What are some alternatives?

When comparing Choco and OptaPlanner you can also consider the following projects:

JaCoP - Java Constraint Programming solver

or-tools - Google's Operations Research tools:

gecode - Generic Constraint Development Environment

jsprit - jsprit is a java based, open source toolkit for solving rich vehicle routing problems

Decider - An Open Source .Net Constraint Programming Solver

chocosolver-samples - Some samples of chocosolver code

vroom - Vehicle Routing Open-source Optimization Machine

zebra4j - zebra4j is a generator and solver library for Zebra puzzles, also knows as "logic grid puzzles".

kotlin-statistics - Idiomatic statistical operators for Kotlin

timefold-solver - The open source AI solver. Timefold is the successor of OptaPlanner, by the OptaPlanner team. Optimize the vehicle routing problem, employee rostering, task assignment, maintenance scheduling and other planning problems

Komputation