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

Uploaded CPython 3.13musllinux: musl 1.2+ i686

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12musllinux: musl 1.2+ i686

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ i686

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ i686

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

Uploaded CPython 3.10macOS 14.0+ ARM64

passagemath_glucose-10.5.26-cp310-cp310-macosx_13_0_x86_64.whl (186.8 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

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

Uploaded CPython 3.9musllinux: musl 1.2+ i686

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

Uploaded CPython 3.9macOS 14.0+ ARM64

passagemath_glucose-10.5.26-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.26.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.5.26.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.26.tar.gz
Algorithm Hash digest
SHA256 7efebb9cc62f953eb5bcadf9f694c8c22f7b8508515e6e654de06feea9204dd3
MD5 e961c4fe3fdbf045112e639350b5d391
BLAKE2b-256 cc52ac425c087cf612366fac9cba093021e508e800b9b1ddbf2d61892b086193

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.26-cp313-cp313-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 8d3cb56a9211f462b1e9cbf51afa3ea5a41272ab2cf1448d95f6ce5c49fa8a66
MD5 fa3ae90f33bf62239ec55308e1a1fed7
BLAKE2b-256 03937c16e80662550b02a926d59bc885b101ecd60ca3d591d0e27e06aa8a2313

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.26-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.26-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9d1b26c2ed8451d70cec4099fb0132aec7625e6cc1dc7d2e3b8aa1c00d22e7b3
MD5 9e6245bb0e71bc79f78288c13c6c1386
BLAKE2b-256 b02317cab51d9cd51792a67be33dc8938720e7de95e4585b4245d30827cf9b68

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.26-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 536501e5a0ddd4fb2f3054bc2d9017b33c35f6a81b3acf4274221deaa91b1290
MD5 7dbc43875f80cc2dea411d951b6e456b
BLAKE2b-256 339c220924c9046beaa007ebb4ddb7e0d0e8a2d3c1f63d335e81bbd1ba0028ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.26-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ecd7e0061d029d46b484fe26a224f2b13142d53de2f7ad5570a55f83ba547f4c
MD5 9b197df6d87969b5be70f94926002f3f
BLAKE2b-256 a5686db7a42c1c792f873f15b1abaa618eeadde7ae4d0871c076555d775926be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.26-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 c2c098a6f21d56c23f70bf93db6efea846605d397620417b1e99614cc2a0e42d
MD5 2b154addc3b698185c1c5d458588adc9
BLAKE2b-256 18be73eefd93e4b6a938b50b34e99a167fdee30ee8fdfa46fd68aeaec02be75b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.26-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.26-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a7c09796f26fec843608de67d25f00f4a6e637e0a0e7ca81cd3393a8f798c2c6
MD5 96c7bd2d5cbd73e3278811b53f0433f8
BLAKE2b-256 bffb80ccbb8fe76f617acfcf0c2a6b157f54f6edf746438a7abe7896eef7dc77

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.26-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e9086d402e8fdfe0e2688c3177252c6fea6816f64c0abd68e79aa8db0b98f603
MD5 7680e411ae82d9095a9408223f0ecfc8
BLAKE2b-256 675e83176904a7a2a3895ca24359230044185b9391adc716d8ac84d19d254245

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.26-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a374ce2b208e2cd8a32996faaa05e331bf65104b471ee407b969a88d3aa68196
MD5 12f5461e6ff2dc95ebb1366e73363430
BLAKE2b-256 6060e47ced337816703ce8a3fd9903779b4aa5a27d9b349fa910bacbffeb62e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.26-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 2125063a3b160e5ca41d488654fd567f74b7a1c7e850d4f779bb345ab4fc2cde
MD5 dc74436e95cb22dbaff15fd1a68de15e
BLAKE2b-256 e6e542350645ccd81ecd6c03ac3d384ef73ed4b0c40f80097512488124d0ba28

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.26-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.26-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 528a57805c994ef6c1d269ad941855d8b6dad7a88a65cb07367c5c0ac857c497
MD5 2f7eaf8fb5720ef40b72aa6972029b40
BLAKE2b-256 5ad330c0b9f6474e17ae5a811b75e4d55e95fd59df94032705e078d3d843ccad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.26-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e9cf5716517c2dba21ad87d8a4a42c10e54e793e27172a5db1648d3b0095556e
MD5 3232ecfca0145a680a48ce4ebe42896b
BLAKE2b-256 b232be1cfe490ad33b2da4d43266eaa4fc2da98f245a8b1fd73899ec5b30dfcc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.26-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0812d7bc8533bc97c6de2177eee853065d45667dd80a48a137278297b1449ca5
MD5 1f60877be4e5dd246590a325450b63ec
BLAKE2b-256 facaba6918e2d9ef76be2515a9ed748f04f1c4b6f62c847ff92c364704f492ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.26-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 97408ff8be36a35108d5b6dab2e8ede1d2a5685be0bde46f3fcd9155085a930d
MD5 adc3c9812099bc5191125a73d91a77d9
BLAKE2b-256 7d9c7171798c7a91795bf5466266e106b604bf884ae0d33f53be8faabacc6378

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.26-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.26-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0531a258ca5553e2523344bd71af0d9fdd26194455eed9695bcad66830315168
MD5 faf800487e048aaf2b0bfa84a3dc9ee5
BLAKE2b-256 52bb92502f310487e56dd33c7fb29557ae2ba40d102dd7d2a09c11538f29a0e6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.26-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 ea24ab73056bc21ebaa93a991940f2e1186f0e88ad44a0194b3fb90088e077fd
MD5 c07bad9e459d0b303155dc1ff8a17e04
BLAKE2b-256 8c1ebd868ba16e31f69870ae2634966a496d9ca3a3e53b628011d31009707ac7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.26-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 fa94566d9dc8731ce3619cdebcb1df045c7fee9cace486b15777e0b7325ad6db
MD5 2163e137e3b505a069a953d8f31efbd7
BLAKE2b-256 84680e675dac0b9c9875825918e674ae2e0b2aab52fd3b6c9eba30c10fa26b81

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.26-cp39-cp39-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 4c99b6222fc23cd725900585c847007d54d004ea7250cddb9adabbea3dc781f6
MD5 6c60dd8c5d5fd660eda74b76b86341eb
BLAKE2b-256 4b6372e05e6ddc62c77107b8e211abc371b3dcb18a65aed474d315f96d774a60

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.26-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.26-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e287a35f00779f37f6896a3899472c5a816d01e7e00add7f975fb96e31029305
MD5 b8c2e369c25d4332d76bf88fc3f6cad3
BLAKE2b-256 9fdec30b6efa55d6cca404f644769be49bf8d20398d1f380b420d24ddf769fa7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.26-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 da0b7b454cf073f22e41eaa2a99f245e93e5dfe77a45bae3b1e449226bb90a8c
MD5 c892662cf326e80739fa252862c51436
BLAKE2b-256 6177e0a27535b34bac0098be1601bf1b5cd624582af13c2ba6501ffd6fe826d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.26-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9f3fb37c85e5aa888b435fbd2c3631ad28abcbd8cd1ac2735aceb8830a445337
MD5 eb201be3b38fa9b94e57c304a250a5e9
BLAKE2b-256 8cd53bcf66e0369fba682f933bec4f8c648e5b1841f20e1eafa30f20b3214e81

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