A Numpy and Numba based Python library for solving Constraint Satisfaction Problems over finite domains
Project description
TLDR
NuCS is a Python library for solving Constraint Satisfaction and Optimization Problems. Because it is 100% written in Python, NuCS is easy to install and allows to model complex problems in a few lines of code. The NuCS solver is also very fast because it is powered by Numpy and Numba.
Installation
pip install nucs
Documentation
Check out NuCS documentation.
With NuCS, in a few seconds you can ...
Find all 14200 solutions to the 12-queens problem
NUMBA_CACHE_DIR=.numba/cache python -m nucs.examples.queens -n 12
Compute the 92 solutions to the BIBD(8,14,7,4,3) problem
NUMBA_CACHE_DIR=.numba/cache python -m nucs.examples.bibd -v 8 -b 14 -r 7 -k 4 -l 3
Demonstrate that the optimal 10-marks Golomb ruler length is 55
NUMBA_CACHE_DIR=.numba/cache python -m nucs.examples.golomb -n 10
Project details
Release history Release notifications | RSS feed
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 nucs-9.0.0.tar.gz.
File metadata
- Download URL: nucs-9.0.0.tar.gz
- Upload date:
- Size: 60.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b35c9dc50a03bd2f200b0d2ca1098a80ce5dd2e594c9d66aeb60cb1d9824aa0
|
|
| MD5 |
5d052945254eead7ce06acfcd9602182
|
|
| BLAKE2b-256 |
12ddb3f072f8d646a4af1e1427e3af0979704c9730af902752906960ef7ddfbd
|
Provenance
The following attestation bundles were made for nucs-9.0.0.tar.gz:
Publisher:
publish.yml on yangeorget/nucs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nucs-9.0.0.tar.gz -
Subject digest:
2b35c9dc50a03bd2f200b0d2ca1098a80ce5dd2e594c9d66aeb60cb1d9824aa0 - Sigstore transparency entry: 433471818
- Sigstore integration time:
-
Permalink:
yangeorget/nucs@8f741d830fe24e79606ba9c53d207bf2c7dee937 -
Branch / Tag:
refs/tags/v9.0.0 - Owner: https://github.com/yangeorget
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8f741d830fe24e79606ba9c53d207bf2c7dee937 -
Trigger Event:
release
-
Statement type:
File details
Details for the file nucs-9.0.0-py3-none-any.whl.
File metadata
- Download URL: nucs-9.0.0-py3-none-any.whl
- Upload date:
- Size: 157.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed1f60c768a8645d33871d5793b0e80ff92be9a1eb1590c9316f656eef49455d
|
|
| MD5 |
ac37bc810a38e5d2dd139c534f10c6a8
|
|
| BLAKE2b-256 |
c906491e4a4fe62dd80463a50d918561890e684620808c64127657b659d10eac
|
Provenance
The following attestation bundles were made for nucs-9.0.0-py3-none-any.whl:
Publisher:
publish.yml on yangeorget/nucs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nucs-9.0.0-py3-none-any.whl -
Subject digest:
ed1f60c768a8645d33871d5793b0e80ff92be9a1eb1590c9316f656eef49455d - Sigstore transparency entry: 433471844
- Sigstore integration time:
-
Permalink:
yangeorget/nucs@8f741d830fe24e79606ba9c53d207bf2c7dee937 -
Branch / Tag:
refs/tags/v9.0.0 - Owner: https://github.com/yangeorget
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8f741d830fe24e79606ba9c53d207bf2c7dee937 -
Trigger Event:
release
-
Statement type: