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


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

eznf-0.120.2.tar.gz (28.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eznf-0.120.2-py3-none-any.whl (31.6 kB view details)

Uploaded Python 3

File details

Details for the file eznf-0.120.2.tar.gz.

File metadata

  • Download URL: eznf-0.120.2.tar.gz
  • Upload date:
  • Size: 28.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.0

File hashes

Hashes for eznf-0.120.2.tar.gz
Algorithm Hash digest
SHA256 cea50732654541a66b2f1073fbbbbf9781ca395365bd785e66b00cbc016a4212
MD5 4c60709f2f53124d4099ce20ee28c606
BLAKE2b-256 07d99ba6b01521c497c67a5922ebdb375e508c80554b0c85ae0008808526c7e3

See more details on using hashes here.

File details

Details for the file eznf-0.120.2-py3-none-any.whl.

File metadata

  • Download URL: eznf-0.120.2-py3-none-any.whl
  • Upload date:
  • Size: 31.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.0

File hashes

Hashes for eznf-0.120.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0b0e0326526be7f1984f24bf8ee98f59c3d5d2778fecc380ceca8a2aeca150ab
MD5 31427d6d5f8a88883896986585d02145
BLAKE2b-256 0857eb313851f78b5e921ef82974a2067d60201f0c87a1066fb9c4a4c9424b16

See more details on using hashes here.

Supported by

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