JaCoP VS Choco

Compare JaCoP vs Choco 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
JaCoP Choco
2 4
217 668
- 1.0%
8.2 8.8
4 months ago 3 months ago
Java Java
GNU General Public License v3.0 or later BSD 4-Clause "Original" or "Old" License
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.

JaCoP

Posts with mentions or reviews of JaCoP. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-12.
  • Constraint Programming
    8 projects | news.ycombinator.com | 12 Sep 2022
  • Sputnim A Sat Solver In Nim
    1 project | /r/nim | 5 Feb 2021
    I used MiniZinc to model a scheduling problem for a customer which used constraints to block off already scheduled time, holiday time, non-work hours, etc. and it also had soft constraints for ensuring that blocks of time would be prioritized first to ensure that preferred representatives would get to a work with a given customer first based on previous relationship and skills. Once we translated the modelled constraints from MiniZinc to JaCoP in Java, the solution was able to generate hundreds of solutions per second. And note that it was able to do this minute level resolution such that no blocks of time were wasted because of scheduler limitations.

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.

What are some alternatives?

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

OptaPlanner - Java Constraint Solver to solve vehicle routing, employee rostering, task assignment, maintenance scheduling, conference scheduling and other planning problems.

gecode - Generic Constraint Development Environment

Decider - An Open Source .Net Constraint Programming Solver

chocosolver-samples - Some samples of chocosolver code

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

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

opennars - OpenNARS for Research 3.0+

backtrack-rs - Solve hard constraints easily with Rust.

ddo - DDO a generic and efficient framework for MDD-based optimization.

decider - A web application that assists network defenders, analysts, and researchers in the process of mapping adversary behaviors to the MITRE ATT&CK® framework.

commons-math - Apache Commons Math