python-sat 1.8.dev15__tar.gz → 1.8.dev17__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of python-sat might be problematic. Click here for more details.
- {python-sat-1.8.dev15/python_sat.egg-info → python-sat-1.8.dev17}/PKG-INFO +1 -1
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/pysat/__init__.py +1 -1
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/pysat/formula.py +5 -2
- {python-sat-1.8.dev15 → python-sat-1.8.dev17/python_sat.egg-info}/PKG-INFO +1 -1
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/LICENSE.txt +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/MANIFEST.in +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/README.rst +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/allies/__init__.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/allies/approxmc.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/allies/unigen.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/cardenc/bitwise.hh +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/cardenc/card.hh +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/cardenc/clset.hh +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/cardenc/common.hh +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/cardenc/itot.hh +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/cardenc/ladder.hh +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/cardenc/mto.hh +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/cardenc/pairwise.hh +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/cardenc/ptypes.hh +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/cardenc/pycard.cc +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/cardenc/seqcounter.hh +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/cardenc/sortcard.hh +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/cardenc/utils.hh +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/examples/__init__.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/examples/fm.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/examples/genhard.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/examples/hitman.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/examples/lbx.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/examples/lsu.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/examples/mcsls.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/examples/models.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/examples/musx.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/examples/optux.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/examples/rc2.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/examples/usage.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/pysat/_fileio.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/pysat/_utils.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/pysat/card.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/pysat/engines.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/pysat/pb.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/pysat/process.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/pysat/solvers.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/python_sat.egg-info/SOURCES.txt +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/python_sat.egg-info/dependency_links.txt +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/python_sat.egg-info/requires.txt +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/python_sat.egg-info/top_level.txt +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/requirements.txt +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/setup.cfg +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/setup.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/solvers/cadical103.tar.gz +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/solvers/cadical153.tar.gz +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/solvers/cadical170.tar.gz +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/solvers/cadical195.tar.gz +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/solvers/glucose30.tar.gz +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/solvers/glucose41.tar.gz +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/solvers/glucose421.tar.gz +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/solvers/lingeling.tar.gz +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/solvers/maplechrono.zip +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/solvers/maplecm.zip +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/solvers/maplesat.zip +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/solvers/mergesat3.tar.gz +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/solvers/minicard.tar.gz +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/solvers/minisat22.tar.gz +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/solvers/minisatgh.zip +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/solvers/patches/cadical103.patch +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/solvers/patches/cadical153.patch +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/solvers/patches/cadical195.patch +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/solvers/patches/glucose30.patch +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/solvers/patches/glucose41.patch +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/solvers/patches/glucose421.patch +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/solvers/patches/gluecard30.patch +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/solvers/patches/gluecard41.patch +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/solvers/patches/lingeling.patch +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/solvers/patches/maplechrono.patch +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/solvers/patches/maplecm.patch +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/solvers/patches/maplesat.patch +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/solvers/patches/mergesat3.patch +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/solvers/patches/minicard.patch +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/solvers/patches/minisat22.patch +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/solvers/patches/minisatgh.patch +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/solvers/prepare.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/solvers/pysolvers.cc +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/tests/test_accum_stats.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/tests/test_atmost.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/tests/test_atmost1.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/tests/test_atmostk.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/tests/test_boolengine.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/tests/test_clausification.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/tests/test_cnf.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/tests/test_equals1.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/tests/test_formula_unique.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/tests/test_process.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/tests/test_propagate.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/tests/test_unique_model.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/tests/test_unique_mus.py +0 -0
- {python-sat-1.8.dev15 → python-sat-1.8.dev17}/tests/test_warmstart.py +0 -0
|
@@ -1454,6 +1454,9 @@ Formula.set_context('_global')
|
|
|
1454
1454
|
PYSAT_FALSE, PYSAT_TRUE = Atom(False), Atom(True)
|
|
1455
1455
|
PYSAT_FALSE.name, PYSAT_TRUE.name = -0.5, 0.5 # special (floating-point) values for the constants
|
|
1456
1456
|
# different from all variable names
|
|
1457
|
+
PYSAT_FALSE.clauses, PYSAT_TRUE.clauses = [[-0.5]], [[0.5]] # unit clauses for the constants
|
|
1458
|
+
# FALSE should turn into an empty clause;
|
|
1459
|
+
# while the clause for TRUE should be removed
|
|
1457
1460
|
Formula.set_context('default')
|
|
1458
1461
|
|
|
1459
1462
|
|
|
@@ -4331,7 +4334,7 @@ class WCNF(object):
|
|
|
4331
4334
|
|
|
4332
4335
|
cnf.nv = self.nv
|
|
4333
4336
|
cnf.clauses = copy.deepcopy(self.hard) + copy.deepcopy(self.soft)
|
|
4334
|
-
cnf.
|
|
4337
|
+
cnf.comments = self.comments[:]
|
|
4335
4338
|
|
|
4336
4339
|
return cnf
|
|
4337
4340
|
|
|
@@ -5375,7 +5378,7 @@ class WCNFPlus(WCNF, object):
|
|
|
5375
5378
|
cnf.nv = self.nv
|
|
5376
5379
|
cnf.clauses = copy.deepcopy(self.hard) + copy.deepcopy(self.soft)
|
|
5377
5380
|
cnf.atmosts = copy.deepcopy(self.atms)
|
|
5378
|
-
cnf.
|
|
5381
|
+
cnf.comments = self.comments[:]
|
|
5379
5382
|
|
|
5380
5383
|
return cnf
|
|
5381
5384
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|