Git Product home page Git Product logo

ace's Introduction

ACE is an open-source constraint solver developed by Christophe Lecoutre (CRIL, Univ. Artois) in Java. ACE is embedded in the Python modeling library PyCSP3, and is a competitive solver as shown by the results obtained at both the 2022 XCSP3 competition and the 2023 XCSP3 competition.

The current stable version of ACE is 2.3 (March 27, 2024).

ACE focuses on:

  • integer variables, including 0/1 (Boolean) variables,
  • state-of-the-art table constraints, including ordinary, starred, and hybrid table constraints,
  • popular global constraints (AllDifferent, BinPacking, Cardinality, Count, Cumulative, Element, Lex, MDD, Minimum, NoOverlap, NValues, Regular, Sum, Table, etc.),
  • search heuristics (wdeg/dom, pick/dom, frba/dom, last-conflict, BIVS, solution-saving, ...),
  • mono-criterion optimization

ACE is distributed under License MIT

Quick Description

For some general information about the structure of the code of the solver ACE, see this paper.

Building a JAR

  1. clone the repository:
    git clone https://github.com/xcsp3team/ACE.git --depth 1
  2. change directory:
    cd ACE
  3. run Gradle (of course, you need Gradle to be installed; version > v7.0):
    gradle build -x test
  4. test the JAR:
    java -jar build/libs/ACE-YY-MM.jar
    where you give the right values for YY and MM. If the usage of ACE is displayed, you are fine.

With this JAR, you can run ACE on any XCSP3 instance.

Running Unit Tests

  1. run Gradle:
    gradle test
  2. see results in:
    ace/build/reports/tests/index.html

ace's People

Contributors

lecoutre avatar xcsp3team avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ace's Issues

HeuristicVariablesDynamic class

What is the reason why the method protected final Variable bestUnpriorityVariable() is final? If not, for example, the Impact and Activity heuristics could inherit directly from HeuristicVariableDynamic instead of HeuristicVariable.

It would be better to manage the dependencies using gradle?

Junit, Hamcrest, Json and XCSP3 libraries are used as jars in the project it would be better to delete the lib folder and add the corresponding dependencies in the build.gradle file.

testImplementation group: 'org.hamcrest', name: 'hamcrest-all', version: '1.3'
testImplementation group: 'junit', name: 'junit', version: '4.13.1'
implementation group: 'org.glassfish', name: 'javax.json', version: '1.0.4'
implementation 'org.xcsp:xcsp3-tools:2.0.1' (2.0.2 version still not available)

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.