Skip to main content

A prototype library to prototype SAT encodings

Project description

EZNF

This library is designed to speed-up prototyping encodings, especiall for combinatorial problems.

Modeler

The main abstraction of the library is the so-called modeler.

Therefore we will always start with:

import modeler

Z = modeler.Modeler()

Then, we will use the Z modeler variable to model the problem.

For example, we can use

Z.add_var(f'v_{i}', f'vertex {i} is selected for the CLIQUE')

Tests

python3 -m pytest

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

eznf-0.62.2.tar.gz (14.4 kB view hashes)

Uploaded Source

Built Distribution

eznf-0.62.2-py3-none-any.whl (16.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page