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.25.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.25-cp313-cp313-musllinux_1_2_i686.whl (25.7 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ i686

passagemath_glucose-10.5.25-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.25-cp313-cp313-macosx_14_0_arm64.whl (175.0 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

passagemath_glucose-10.5.25-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.25-cp312-cp312-musllinux_1_2_i686.whl (30.3 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ i686

passagemath_glucose-10.5.25-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.25-cp312-cp312-macosx_14_0_arm64.whl (175.8 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

passagemath_glucose-10.5.25-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.25-cp311-cp311-musllinux_1_2_i686.whl (29.9 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ i686

passagemath_glucose-10.5.25-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.25-cp311-cp311-macosx_14_0_arm64.whl (175.7 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

passagemath_glucose-10.5.25-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.25-cp310-cp310-musllinux_1_2_i686.whl (29.0 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ i686

passagemath_glucose-10.5.25-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.25-cp310-cp310-macosx_14_0_arm64.whl (175.9 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.5.25-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.25-cp39-cp39-musllinux_1_2_i686.whl (28.8 kB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ i686

passagemath_glucose-10.5.25-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.25-cp39-cp39-macosx_14_0_arm64.whl (175.9 kB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

passagemath_glucose-10.5.25-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.25.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.5.25.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.25.tar.gz
Algorithm Hash digest
SHA256 547a4bcc131b9dfde89f4e4d63105f62a579fe44598f69347551faf7cbd71e84
MD5 0b81b776d71065b48e0a1dcde0ece988
BLAKE2b-256 03ecf693828f38687c0e5a302d2d62622074bf8f76795f0a010af34c7ed30b7e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.25-cp313-cp313-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 643a3a2d4f72dee819436b9cca40e7a25407057813d826bba94be978a3082016
MD5 6af489512d37e85e782b3f6b9d1688f6
BLAKE2b-256 958aa71201b3b27df51decb2fcc2caaf51bd0841de4e34b3311a60872495c496

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.25-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.25-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a323c978d94d27f44f2567b5a79867e7b3cbab012af951ba2f80dc176f43ea26
MD5 9af0944250a2be4fffee791af685b144
BLAKE2b-256 cd743ee5d1dac2960fc236191e21cd71e564ba69da7721b751179ccd4ceccc73

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.25-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 075605b78ecbd43f452abcf5bf0c3b607587cf4882743f357a42a5b3dacfb6a9
MD5 af51c665c599a66b63d98fceeb32b640
BLAKE2b-256 d8456436b5d953cc58f2e60d25ced387fd3a6215c5ea816c001365b34c16ca40

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.25-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b7ad40dfc924a2e820aaf4160e90244043ba14ef7d2cdfbd5ca6d0d83ec1f182
MD5 c7e802f2b0d9c270c44d84f350852093
BLAKE2b-256 d9e75c14a5711f842b18d4ff36dae0ed45edb834131a513ce9b70f31d6cccc51

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.25-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 b122b716b4dc63b30bea4f2052a78aa33242dc2ac63a3f47e0ac157a31bc4d07
MD5 51ac90f013b7e7480e296b5b86d33ee2
BLAKE2b-256 24b05e860a2871bc6811d933b598649452936c364b7db64365016ca01df3e798

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.25-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.25-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6b3489338b199c560b4804a94943ddd9c2ca453e47e97e53d5616b9d29f1fcf2
MD5 f29eed8b5e2eab04ba98a60a63dce98e
BLAKE2b-256 0212f164fe21a1b3cd6525eb89f14371ef39f37fd786726cef5a08801910a256

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.25-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 611a82c690ec67d46506c1eb58f5aa44f8b881d3494588af6e12ab4b97ecc8bf
MD5 a62b9928eea792ed481f81c1bfd3298c
BLAKE2b-256 3a76a005a11ab4bbc2779b7d3cfd3c70a73e08da0009ba5b6d8463f4bd975bee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.25-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 36272a15ad0317423710610b8b6c939474084fb76d722b17e747324610741466
MD5 4158b864c0783188e4521dd293a00fe4
BLAKE2b-256 e484d852024bc0a14905fdb6555a32ea207452b23565acb2700c8ff2c66275c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.25-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 6cca26ad9b74bb2b226fe4ccfc75fffe4bdf25b89a6533fc56634edb0954f51b
MD5 f93857edbb9b115c89861d12075688ae
BLAKE2b-256 6accb8ffe624ea70499ba4990cb0d794120d25dadc2f13bcdd6b5fc70ec481aa

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.25-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.25-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fc1cd8ed9b5fe3b89592124e2cdf56b837e13fa03a5c733f44cc68121833ead5
MD5 84de265b3edad8b21a0b9b10a975f267
BLAKE2b-256 bb909f35ee1f198d4d85c28646506947ed7b6a87c0375fd0e9b69cfc5e372efc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.25-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 59bd979958419eec84d1ab843e877674991d1b549f7f34437b234701a2afdc86
MD5 3e1383edeea9caa232650333aeef5083
BLAKE2b-256 41a107322692f333ba7565a4bb1406225d971da50f447181bc0ef4d17bb74364

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.25-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7e2dd8adb061a14b94ba42d14e6aaf0a2d1bbc4c3530db210ba7be92e0e78904
MD5 18bfcf03e0d624de01d80cbf47349f8b
BLAKE2b-256 ab1561c627ab14acf4eb642037921a3e6534267c0cbc5a324945678b70588f1c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.25-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 00ffa807dd73588c8da52d1af56d8d03efcc9a4cd1263de2934fe89beed70d93
MD5 dd0c8e113c5897e6ee7984873d207852
BLAKE2b-256 d59abc36612edf0af192e7f28c7b628dc709ef13f8287b99893fedfe1c86c682

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.25-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.25-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3f4246efc9547c955db5c7a8e3ad9ff3f08d246038c1600d4e2f1c41626e872c
MD5 7e564ddb0c8ee6b78ac43d34de026ebb
BLAKE2b-256 056c281144d7558879098da4a8ddfb6e125a79bfcddbadd57da7739858ee507e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.25-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d8e0da34961ed44c10a91e76aabf53c8efb33a94ccf53d4f23282fcf2ca1c65b
MD5 edf46de4d102fab7ea9ca4300eea7275
BLAKE2b-256 91e0f0194470e70223b006e57fb27e04767c15d2fffc409b6ce6e38268ee6388

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.25-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 05d64cc8d545351941c5901d69dec46294c7e4d65438ecbc71890798b64fe20a
MD5 0977a753aa5d00afb7fad0d9b7b1973f
BLAKE2b-256 65c237d8317c5b23993d84ccef885fe74f67fac84da58c727501e4b2ce36410c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.25-cp39-cp39-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 cfcccf315399291506c20f557505a811676de4f2ea7fcdf8f9b07555046959ba
MD5 50be69d07be79452f376932e26d6ae47
BLAKE2b-256 6e0ed93d55daa52cfaf55635d07f8a4a812491cd40a28e0a5ffec63b26823e38

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.25-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.25-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ccfae0604376882bc11fd2a0eb416b74e8b643eee15e10d539748662b7a33335
MD5 e2a1481bdb2c22ebaa028b0755a4ed54
BLAKE2b-256 cc2282b9d4a6550c234372e1ee242cde3a0b9951d27b4b3981b056b05e0f659d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.25-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 28628418f2781600b8930a108ef697876a03b5d02ff220bd1efdbdc06c9f9c97
MD5 f62059e6d28150118e8f43ebcba5b3cd
BLAKE2b-256 b3c05eb54550d3a59b02bd6a6c8f7bfa96bb57cab211973acec0b9712048beb9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.25-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4873bd810f5bc4ccb4af561e0a3cd7205ebfb0dc4623a5da13983bb51fb837a7
MD5 363ce2a0bbe5925313f836a3c2591a40
BLAKE2b-256 1f4a6cfe5b54e61b026a1d0c1efda5e2740f40c851ca7b50d38633a546c05dae

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