Skip to main content

passagemath: Interface to the SAT solver glucose

Project description

About SageMath

“Creating a Viable Open Source Alternative to

Magma, Maple, Mathematica, and MATLAB”

Copyright (C) 2005-2024 The Sage Development Team

https://www.sagemath.org

SageMath fully supports all major Linux distributions, recent versions of macOS, and Windows (Windows Subsystem for Linux).

See https://doc.sagemath.org/html/en/installation/index.html for general installation instructions.

About this pip-installable distribution package

This pip-installable distribution passagemath-glucose provides an interface to the SAT solver glucose.

What is included

  • Binary wheels on PyPI contain prebuilt copies of glucose executables.

Examples

Using glucose programs on the command line:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-glucose" sage -sh -c glucose

Finding the installation location of a glucose program:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-glucose[test]" ipython

In [1]: from sage.features.sat import Glucose

In [2]: Glucose().absolute_filename()
Out[2]: '.../bin/glucose'

Use with sage.sat:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-glucose[test]" ipython

In [1]: from sage.all__sagemath_glucose import *

In [2]: from sage.sat.solvers.dimacs import Glucose

In [3]: solver = Glucose(); solver.add_clause((1,2)); solver.add_clause((-1,2)); solver.add_clause((1,-2))

In [4]: solver()
Out[4]: (None, True, True)

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

passagemath_glucose-10.5.27.tar.gz (3.6 kB view details)

Uploaded Source

Built Distributions

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

passagemath_glucose-10.5.27-cp313-cp313-musllinux_1_2_i686.whl (25.7 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ i686

passagemath_glucose-10.5.27-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.5.27-cp313-cp313-macosx_14_0_arm64.whl (175.0 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_glucose-10.5.27-cp313-cp313-macosx_13_0_x86_64.whl (185.9 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

passagemath_glucose-10.5.27-cp312-cp312-musllinux_1_2_i686.whl (30.3 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ i686

passagemath_glucose-10.5.27-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.5.27-cp312-cp312-macosx_14_0_arm64.whl (175.7 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_glucose-10.5.27-cp312-cp312-macosx_13_0_x86_64.whl (186.6 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

passagemath_glucose-10.5.27-cp311-cp311-musllinux_1_2_i686.whl (29.9 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ i686

passagemath_glucose-10.5.27-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.5.27-cp311-cp311-macosx_14_0_arm64.whl (175.7 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_glucose-10.5.27-cp311-cp311-macosx_13_0_x86_64.whl (186.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

passagemath_glucose-10.5.27-cp310-cp310-musllinux_1_2_i686.whl (29.0 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ i686

passagemath_glucose-10.5.27-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.5.27-cp310-cp310-macosx_14_0_arm64.whl (175.9 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.5.27-cp310-cp310-macosx_13_0_x86_64.whl (186.7 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

passagemath_glucose-10.5.27-cp39-cp39-musllinux_1_2_i686.whl (28.8 kB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ i686

passagemath_glucose-10.5.27-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

passagemath_glucose-10.5.27-cp39-cp39-macosx_14_0_arm64.whl (175.9 kB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

passagemath_glucose-10.5.27-cp39-cp39-macosx_13_0_x86_64.whl (186.7 kB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

File details

Details for the file passagemath_glucose-10.5.27.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.5.27.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for passagemath_glucose-10.5.27.tar.gz
Algorithm Hash digest
SHA256 83156fbd4185cef8d6d5c84880b6d40e27f55212d297954f71ed1c90c3072ae7
MD5 b8d8a55555c068be16930205f7681b45
BLAKE2b-256 5742c6fbb704f282f20cdc95c966a6cd2482c63819fb46e86e21f3f70574b236

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.27-cp313-cp313-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.27-cp313-cp313-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 a01507e886e823bf8751df41ba04ce988d0cdf8b0b59caea89b4906f33334efa
MD5 ea7ef3facbfd2e78b2c461a7afc82508
BLAKE2b-256 d1c0a11e58a270ff04cc91799401f86e67140b49193a70829976e4635d8ca917

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.27-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.27-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9586ee80ce2523911fe6d7aef02f1f7a256f0af68b9e6f5569bb957016e587b7
MD5 daa8d097f09fb206b7d3c848d23f0d60
BLAKE2b-256 e7bf7ce56028642717bc55e5a9d87c6e816b1da16944aaa9a1320c8478c5a1ff

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.27-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.27-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d55273270947706022ad59fb9593e94a00721806069a52d51da8aa581341fe1e
MD5 0f8bc9ceef465c34892dcf1a0da693c8
BLAKE2b-256 560198a27ead66c469e8ce244bdeb8a3c65fcb96c883c507999e5b9d1f152946

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.27-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.27-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 54f6f67e44b78fedb28d78534f1159897941bca15fd09e9c5191ad068898d265
MD5 7f05209544e89b12e66a051772b1515b
BLAKE2b-256 ca5a27c2e97ac484081fc3ee3b2de516dbbeb995454e22152c90d63dc9521043

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.27-cp312-cp312-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.27-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 2b3d706d26b5f0d86c9091c6774a1eeeaebfb5b6a080ca34e0751494e1522fca
MD5 02be41f66b4af4c74e233a775f9929a0
BLAKE2b-256 d04c831529b53edc7ba23176ca9d92571457a24ccaafc94aa207c71595c4d1ea

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.27-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.27-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d62d8175968c1add5a5cdf6cb5f8a819eec21fe2b49d66bee32d7f61be18ca29
MD5 3c27206413338dd116c37f61f3080c0f
BLAKE2b-256 283727849e2f25482750ae0b3e198918298862a66ea6e40ab9c127ee7083755d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.27-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.27-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 7a9b70c1c8ea93462e2e8ab6f7f9fe3c8e48d38330a7fb6f1d9a0ebee2970462
MD5 1f6a7659c18edc07a438b8ce7d3bc47a
BLAKE2b-256 a0d2c1d880587eb942b0b2f953ced0f5536529b1a76f15ff2a7161e9cd77c540

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.27-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.27-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6632b9b90e5d24eb2f390fea72f1559cf64bc6532c15a42e934af142ff3fe3eb
MD5 f1c52984f161b2fa01c56bb216166103
BLAKE2b-256 0c69cf51c527b09ca78d40ca38fad55158de9417ad4a5038d0f80e3af87f2934

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.27-cp311-cp311-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.27-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 57ee63a0b9d566d88599876b99d6039229d9ce4c9261dc140ed4b4e82bd5876a
MD5 a3486ad7ee1d6d5b360f303a5a3e2c24
BLAKE2b-256 7f5e9a424bbb708da1b5efafa3e98cb007bf7de215b54e9d70721d1043ca386d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.27-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.27-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a3ac2aad3a2576bcaeef92dcab81b0e26522c9f38b9c367645ab3362b9bed4f6
MD5 f933e9e19a16297cdc2d1c1ac75663bb
BLAKE2b-256 e60117fc3029b0af517caaa685fe38fb784b2dcd8a8e258ff949576eabd2ee01

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.27-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.27-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 edb0f93331774744bf2941cb500172f8e36a8161f53e99e0cfa046621932051e
MD5 c65411eec2b41a805bf40f2ca168793d
BLAKE2b-256 022e0393ec07edafc6e4f499514158cd7680b248da08fee4a662ac7db41047e6

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.27-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.27-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 906a6f08fc18c8a88d762fbcb09ccf0c3daf3378da92463bb1162bdf399208a7
MD5 89bad41e518b7ae42869ca7adff9c370
BLAKE2b-256 8aa4c39f20d7ccfe8f609d790df896eb9b1f8fa8364ae0411c534a9faa53bc0d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.27-cp310-cp310-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.27-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 5bdbd4d0615cc8bb5f89b2098ca5f57467c7a34c0ab7ec309f3ad5d99341d942
MD5 dc074cb7dd7390c4118e99c6702d6198
BLAKE2b-256 3549e7614ddaecf1185e30ee50721da4c578ca176c17cd68def083cc53282cf3

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.27-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.27-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 34c20f5cc152fe553f6ec20e3f1e656401d399f933a2550d8f82536bdfe676de
MD5 70e428497172bca9376bd0f46a7e828b
BLAKE2b-256 3282be36c020afc819dd4369675b3931c71397d0be6bc5cae44faa3e24ab3abe

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.27-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.27-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 87521a9b676973e363d9e66317f2f60bab1a1029087961e5fda497997a5635c7
MD5 d733697135992b74b89665f1fe13d8db
BLAKE2b-256 57c74484eb278598b519e013f49954e06c291ed95947d4ca206a0e464708c0d2

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.27-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.27-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 db8df5b75d331686fabe9436f7168e36634e5bb60e6cc2f5add73cac86b72c35
MD5 14b6103c2dd8d80122d1ab1b5e1e1bdb
BLAKE2b-256 e011a2464ff949194a651757f84b645f96bc7b21827f86ba8b6d9bd28498848b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.27-cp39-cp39-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.27-cp39-cp39-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 0006dc38d12af5872a51becd05d54bd0ca3a8fa901464fd1fbcd44a8f477ba20
MD5 540fa1772d1d5d418dbadcc955f3a726
BLAKE2b-256 15446283eae4dc0400d6658fe4265736b6a2559a7281a5cb701628d3bdd25fca

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.27-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.27-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f6e0a517d945aeca94fbdd45335307805ad6c55ce4970aa49b5be6254c7d4ae5
MD5 7592acf2cacfe243408946d64203a26b
BLAKE2b-256 8ada86f761f1e08daa6b42dd9413297dde21c10ddd7707ad98eef6abecde1df3

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.27-cp39-cp39-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.27-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 54015b9e720259ef51f789b42c8a722f6c1764e12b0e147ee9576285db4b5557
MD5 d994bfc6afb5bc539c2a602193cf4233
BLAKE2b-256 0f0098a6de436724dc2a3f5fbc9e8b2fc68787855545d6992d781c2db36019fd

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.27-cp39-cp39-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for passagemath_glucose-10.5.27-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 72fa5d87822947a15781e2e8309ebd29c54373dbe12d04b1daceaf2d441839e1
MD5 3e2f7ac4f375bf9a4fc917c5b0a84bd2
BLAKE2b-256 a85337e50b16b3daf0e139941ca202e021f4d96679826eb79b94d61865f78ae3

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