Python package to parse and solve COOM configuration instances using ASP.
Project description
COOM Suite
The COOM language is a domain-specific language for modelling product configuration problems. While currently geared towards ASP, the COOM Suite is intended to serve as a general workbench for experimentation with industrial-scale product configuration problems. It includes a (customizable) ANTLR v4 parser to convert COOM specifications into facts, and currently contains two ASP encodings for solving: one for clingo and one for hybrid solver flingo.
In addition, a prototypical UI, a range of examples and a benchmark collection with four scalable benchmark sets is provided.
If you want to cite the COOM Suite, please use the following reference
J. Baumeister, S. Hahn, K. Herud, M. Ostrowski, J. Reutelshöfer, N. Rühling, T. Schaub, P. Wanko. Towards Industrial-scale Product Configuration. CoRR, abs/2504.00013, 2025. doi: 10.48550/arXiv.2504.00013. URL https://arxiv.org/abs/2504.00013.
Usage
Look at our documentation page to see how to use the COOM Suite.
Solving
The main functionality the COOM Suite offers is converting a COOM configuration model and solving it using ASP. To do this, run
coomsuite solve examples/coom/kids-bike.coom
This will convert the given COOM file to a set of (serialized) facts, refine these facts, and finally solve them with the clingo encoding.
- Note that the direct conversion of COOM into facts is a mere serialization of
the COOM model. We make use of a preprocessing encoding to translate the
"serialized" facts into a set of "refined" facts, capturing the essence of
the configuration problem. To show the "refined" facts, run the
solvemode with option--show-facts.
Convert COOM to facts
To convert a COOM instance into a set of (serialized) facts run
coomsuite convert examples/coom/kids-bike.coom
By default, the facts are printed to the console. Optionally, an output
directory can be provided using option --output dir.
Examples
The COOM Suite contains a range of (product) configuration examples encoded in
the COOM language. They can be found in the examples/coom
directory. We highlight here only the Bike collection, containing three
examples in increasing complexity that correspond to the three COOM language
fragments defined above: the Kids,
City, and
Travel Bike.
We also provide the corresponding (serialized and refined) facts to these
examples under examples/asp.
Installation
For instructions on how to install from source or pip see our
documentation page.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file coomsuite-1.1.2.tar.gz.
File metadata
- Download URL: coomsuite-1.1.2.tar.gz
- Upload date:
- Size: 383.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a026acca53e26677c4baaeb2803ea54202f58ab267892f46c55ef752332d58c
|
|
| MD5 |
be28c4a3f8521406e63f7206d5657289
|
|
| BLAKE2b-256 |
ef0fd6ebc32b5fa171d8c61496f59ec2ca3e9b30588810a3cdd0978d8490ba0d
|
Provenance
The following attestation bundles were made for coomsuite-1.1.2.tar.gz:
Publisher:
deploy.yml on potassco/coom-suite
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
coomsuite-1.1.2.tar.gz -
Subject digest:
8a026acca53e26677c4baaeb2803ea54202f58ab267892f46c55ef752332d58c - Sigstore transparency entry: 1342362827
- Sigstore integration time:
-
Permalink:
potassco/coom-suite@6395e09b7037720472b4333c90799f5fd6086cfa -
Branch / Tag:
refs/tags/v1.1.2 - Owner: https://github.com/potassco
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy.yml@6395e09b7037720472b4333c90799f5fd6086cfa -
Trigger Event:
push
-
Statement type:
File details
Details for the file coomsuite-1.1.2-py3-none-any.whl.
File metadata
- Download URL: coomsuite-1.1.2-py3-none-any.whl
- Upload date:
- Size: 117.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
687d93614c779748ab9764b9f20be6b77a2170095052981cf7e3e0e64ec0e158
|
|
| MD5 |
559cc92aa348af35eced90bf9b4eb82b
|
|
| BLAKE2b-256 |
e9dfe66667f34c149b9e52bca7ef6443669042ce55120901401663314b05af04
|
Provenance
The following attestation bundles were made for coomsuite-1.1.2-py3-none-any.whl:
Publisher:
deploy.yml on potassco/coom-suite
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
coomsuite-1.1.2-py3-none-any.whl -
Subject digest:
687d93614c779748ab9764b9f20be6b77a2170095052981cf7e3e0e64ec0e158 - Sigstore transparency entry: 1342362859
- Sigstore integration time:
-
Permalink:
potassco/coom-suite@6395e09b7037720472b4333c90799f5fd6086cfa -
Branch / Tag:
refs/tags/v1.1.2 - Owner: https://github.com/potassco
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy.yml@6395e09b7037720472b4333c90799f5fd6086cfa -
Trigger Event:
push
-
Statement type: