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

Uploaded CPython 3.13musllinux: musl 1.2+ i686

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12musllinux: musl 1.2+ i686

passagemath_glucose-10.5.23-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.23-cp312-cp312-macosx_14_0_arm64.whl (175.7 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ i686

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ i686

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

Uploaded CPython 3.9musllinux: musl 1.2+ i686

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

Uploaded CPython 3.9macOS 14.0+ ARM64

passagemath_glucose-10.5.23-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.23.tar.gz.

File metadata

  • Download URL: passagemath_glucose-10.5.23.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.23.tar.gz
Algorithm Hash digest
SHA256 1366a63351b0d84b9b822b404934442d2934ef0b6cc41a9a9142b4e6f8609b0e
MD5 acdd932b471af3a65f4b7022c2948135
BLAKE2b-256 4f008f7e1dba4d573e87c8191b7094b52dec6955467e90b508707daa839957b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.23-cp313-cp313-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 994a64602929cbecc904c9905cf445d81ee3722af632601c6dfd7c0dd8a7c44b
MD5 e41983396bc95341101bfa7fd17f6129
BLAKE2b-256 69de877b7aeff352b2c5e7a8fc3fb5154d87c6ca876c38269103f0c235827117

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.23-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.23-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 737e140dcd9ad3ffb373b95aaf7b51d47936b24ae28c8341291db7a5ce9a4646
MD5 5d5df3d77fafcdf0fc16efac315fb74c
BLAKE2b-256 8958c67ec62da30cb40bf7faf643b109f57773d14c12d968b06cc6e183386cea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.23-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 173a83d3ce144b916ea40b530b164995cb6d04a2a6048172cccc0cffcc9be1a6
MD5 a5e43b1ee553d74e81624a31a73de78c
BLAKE2b-256 131f2fe64a3efc4435c744c55cba2b61dad54ffa5c2fc26428e5a8d89874859b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.23-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9ad3844f1f5f2d6645b2ac1f78faab8d5305525e7a271cc020b3f0b0fba6167e
MD5 53232c241c4896e32057a98448be2d71
BLAKE2b-256 d472fff7e9ea26bdf24d2087ddc3cd3c7ae357080a73cc75b15b27577870be98

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.23-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 13fd67b1ba7922fa5ba74ca8bba684a00305954f7943b2bbd583a985e21ba2b7
MD5 4e6fecf36f6ddbb39778f2675e75d294
BLAKE2b-256 55866dcb130a8c1303d9c7f147a7d492098930982d7e8bc3cdd66b5500e6b47d

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.23-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.23-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f78a1e7c4c83d04e8df176169ea068b0cddc104a1289611721db3545a60136b9
MD5 01941cd2f61597fa63ca130d4eb12bd3
BLAKE2b-256 41f9caa0ab2169e13486b7def8ce87d83d14aa4ae34b59ceca319a7d142249dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.23-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3b34c20ff49f9daabf8c3dcddc071482b6382297d32fb79e6414e565ef2a1c38
MD5 b51af9aba0419d748d9540834766757f
BLAKE2b-256 62cebc9ff09f622efeb66960f45cf0467217813a022427b51a50af8cfda5fed0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.23-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2457efd4c6e91d20f2680a85d9d4fe3e26cf92dc38a470e91509d3ac9d06bd43
MD5 58c8acf405650430db0b1f82bcfb1db9
BLAKE2b-256 f0e5e86a641c5e0cbbad5e3ff01692c99d4bd730d7222c4b987a52de53ef4202

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.23-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 d76149883c8bb9691654fa75e3f512e6690c24757c81ca57d40efcdbc9bcf02d
MD5 53c54f4cc5679a8b3bbb09a534097ea0
BLAKE2b-256 3101361d4dfe9fe56f014c5ad4e217e1217a36130e55f82b2788c9f4abb99290

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.23-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.23-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3e7ab4dbd8fd49bfba9c680f13f6649bb8f635b397476748fee8c02508392687
MD5 3279f3339760fdde85b7f4dc22bc1a19
BLAKE2b-256 9e0b1a2b51bf926e33fefb96a5d8cd6a8f0e6432bfd6d8d59ce3799b197fcb4c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.23-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2bd4b4847e8435533f27354cc4728f1e23f3a866ccd47ea590a3cd67516d01df
MD5 4a2eba4117fd01d26d51fb32f08e3694
BLAKE2b-256 90a15c3bd75000f1e55a5d1c9357008cdea1409bb90394edc8cd055c43f3cd63

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.23-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3d15afc51e9314dd89e9e89b4032911433cad2f971cfd687c145ed106ca0ecf7
MD5 a360783d8ddbb892f0d27c14dd053e25
BLAKE2b-256 a2fae5f2623685e380b3949114644a18efebb286554654e1e914b5a2f64bab15

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.23-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 4ee427c20947cb8c27fe737325ae2207543a66a0226207737a57253f5afbf7ab
MD5 e6d92e50c1873ad0b1cec29986a53232
BLAKE2b-256 a3e748a46ddf42db1ad4bebea9d5ade7fd393ff8630cb6a254eae78cc8089b41

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.23-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.23-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 84968da8a567cd31aa2ed1883ed1a8dbeafe3dccd6a1a36396ca69fa8c40cf24
MD5 5b74c245d3e316167eeb02199e29b442
BLAKE2b-256 58e789000128938fc6c0a026e42ce41cd47a8e5a047812d8715efd514391b2c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.23-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 164b62d117f9274ece4cad3d488bc4a7c6e50fba72203d5eb30f2fc80472187f
MD5 d2d4b66a81b0a75fafca1f626124a774
BLAKE2b-256 ed45a40cf3489a1780518e00fa1a2a5e6b544c86e70f143e5c0a77ee60d3749c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.23-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 614ec8c46cf9706ab86ab9762e14fc0d64ff5b106b0a92e5e049ebca953750f1
MD5 afa2a027be4ac647c8df42fbb0ed5053
BLAKE2b-256 6b47514d6f87ae674ef375a7cbd3afe471a5248b7e1be94e3256769ae335a7ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.23-cp39-cp39-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 8fd0d5affda2cb50dad5afee26c77479ee7f0ad0af9df2dc5bbeadd40d332adf
MD5 645e39e0d08cd90423e74a00fa68ed11
BLAKE2b-256 fc369d392b0463928935ce7c7c60c62411114283642b9fbf67dd1da88a0cea99

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.23-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.23-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 99d40f0314bd1b0fddb96c5a5fa2fc51c58670983c54a4af774f832d5ab4f7aa
MD5 9d10b697aa34334dac5a86833197311e
BLAKE2b-256 241e649ee0c19d6aa377ce417b836e156c8d2588f974bb3525b82461ce8a1b27

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.23-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2e971f031ef0d59c9efddd27243586528249652afae388aad63e4ebfa842d1eb
MD5 77714443e973c010a7475680436bea28
BLAKE2b-256 35474a3bb1694676b56d419d35390d89ec5bb73553a980f14b763596cb41f2b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.23-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5c58d36382c49034aed71fd770191b42a86ea15bd8c9784a813f4db67a20a9e9
MD5 d028980b8dd45c85b9f1fdc334ed4122
BLAKE2b-256 e1ba307dca00f045b784f9d7601c27510731f74d51ff35933c2df382f9475552

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