Skip to content

bsubercaseaux/eznf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A prototype library for prototyping SAT encodings.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published