Metadata-Version: 2.4
Name: cosoco
Version: 2.6.1
Summary: The cosoco constraint solver, shipped as a prebuilt executable
Author-email: Gilles Audemard <audemard@cril.fr>
Maintainer-email: Szczepanski Nicolas <szczepanski@cril.fr>
License-Expression: MIT
Project-URL: Homepage, https://github.com/xcsp3team/cosoco
Project-URL: Issues, https://github.com/xcsp3team/cosoco/issues
Keywords: constraint programming,CSP,COP,XCSP3,solver
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# cosoco

[cosoco](https://github.com/xcsp3team/cosoco) is a compact constraint solver,
written in C++, that reads [XCSP3](https://xcsp.org) instances.

This package ships nothing but the solver executable, built for the platform
of the wheel. It contains no binding: cosoco is meant to be run as a separate
process.

```bash
pip install cosoco
cosoco instance.xml -model=2
```

```python
import subprocess
from cosoco_bin import PATH

subprocess.run([PATH, "instance.xml", "-model=2"])
```

cosoco expects the instance first, before any option.

Modeling in Python is the job of [PyCSP3](https://pycsp.org), which drives
cosoco for you once it is installed:

```bash
pip install pycsp3[cosoco]
```
