https://github.com/xcsp3team/ace
Tip revision: 8aa0adf3e5fb14e238984ebfafdf6a0a3e78148d authored by lecoutre on 21 January 2023, 13:26:58 UTC
Fixed problem with a case of constraint Cumulative
Fixed problem with a case of constraint Cumulative
Tip revision: 8aa0adf
README.md
<div id="logo" style="margin-left:2cm">
<img width="35%" src="src/main/resources/logoAce.png" alt="logo"/>
</div>
ACE (AbsCon Essence) is an open-source constraint solver developed by Christophe Lecoutre (CRIL) in Java.
ACE is embedded in the Python modeling library [PyCSP3](https://pycsp.org/), and is a competitive solver as shown by results of the [2022 XCSP3 competition](https://www.cril.univ-artois.fr/XCSP22/).
Current stable version of ACE is 2.1 (November 10, 2022).
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, Count, Element, Cardinality, Cumulative, etc.),
- search heuristics (wdeg, impact, 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 [short guide](https://github.com/xcsp3team/ace/blob/main/shortGuide.pdf).
## Building a JAR
1. clone the repository:
`git clone https://github.com/xcsp3team/ace.git`
1. change directory:
`cd ace`
1. run Gradle (of course, you need Gradle to be installed; version > v7.0):
`gradle build -x test`
1. 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`
1. see results in:
`ace/build/reports/tests/index.html`
