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

Uploaded CPython 3.13musllinux: musl 1.2+ i686

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12musllinux: musl 1.2+ i686

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11musllinux: musl 1.2+ i686

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10musllinux: musl 1.2+ i686

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

Uploaded CPython 3.9musllinux: musl 1.2+ i686

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

Uploaded CPython 3.9macOS 14.0+ ARM64

passagemath_glucose-10.5.24-cp39-cp39-macosx_13_0_x86_64.whl (186.8 kB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: passagemath_glucose-10.5.24.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.24.tar.gz
Algorithm Hash digest
SHA256 4009393396a5a7c113f92e14312297c93fa7533c1a82224d7c069225a40b5aa5
MD5 01302d4473a39828d43ddef607bb57f6
BLAKE2b-256 0e62236e9a1668e86859de3ecd957e4a05baffd73f24d925d31e236d7b5dc3a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.24-cp313-cp313-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 63721527ac0890f07c59dc21cb1e58b70ccba72e2ade61622d7728238a3c92bf
MD5 018f54d2334ae101b9c34622a5ae2f92
BLAKE2b-256 ea770daec0951a2ffab88973dbdf01734da94e8ae63f2cb0ccae7556683c7820

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.24-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.24-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ab3d8af03eb23b98b0c276716a22ce11e0dce49f5f86a110641e45fda32c0140
MD5 05ff95aaa9f76ecc0f477635881b402a
BLAKE2b-256 f0c23ac40d680e0729c04213ce7da6bddc2a7b509bb7a469d5567587bb9af69c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.24-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 29ce551f7043641afb60a1282e5982a46c768db53c750e61341bd46a99a8c686
MD5 eb45919b58742e96933fd38565ae9504
BLAKE2b-256 ce90a5004bc29018c9d46da3c7e1f19106e834917acf0824cc1e751555c09aa1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.24-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ef902b8658d36e1b182a2df5ba56a01e834b53d465d25795f880cac0ff13618a
MD5 d571089b855d47e7bb85d3ac2b6c24d6
BLAKE2b-256 951407f54e505926fbdd82be5cb2ea25a2985d936d3ceb172622a4f2715c2363

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.24-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 d6766d5f9d9a70b1493707c5318034b1881dbb9fe6bef042c73fce4de4eda50d
MD5 2800d9237c6674ff81c5e5e2d7d300a5
BLAKE2b-256 4a2ce50c584e254eeda4e3a450ec2ec22c9e0d6da4cc32cf6f8b15b8f5e90057

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.24-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.24-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 06f4cc1ce2bffe398898dc3c11828d0d364ec4dcdb878d57a1d2ce5cb3ebd8ba
MD5 c7a04aa7bbd5aebc7138b39210cbaf84
BLAKE2b-256 ddb610fcea17b395ee7efd4cd6c42262c560bf9069a8db5ff49de727b4c51255

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.24-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 389b6bdaa1d699f2f7079fac0b7b73c64210dfd0d45e4ace68409dffe1a689b0
MD5 0217630845c6e3438f7dcef37cf4e690
BLAKE2b-256 c12067c7c9f4fcb72224c93ea21ca2c1cbc24b4e606abbbd580e075c44e45464

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.24-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 46b0e4ca3133ad6a2c479439dfb199a783761419b48da076e845d24c83ee1912
MD5 45c6dd9b75fbc841fab0fc45e991f7bf
BLAKE2b-256 750f9ce77e0f2ca662b4d355dde7ee2369d60872c6ce25afee5763b838b222ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.24-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 398c36f7be4fc38e5ab217292192faeebf318eba24d03b35e2ca524fa5230a56
MD5 53514c3acbc5af988b6f320ac74ebdad
BLAKE2b-256 49919099bf4ed3ab4180c7d15d1b9085f4c196762ec4b8ae49bbc73d0d7d6826

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.24-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.24-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c249fd1038254280cb9cec500951a2ffa30b924ee3df0b8aa53b80f8a85f2fff
MD5 eaaa749be943cd31e00b07880e60905c
BLAKE2b-256 4c104f89792697bff20e7cca16eb85e430408870d464e99e44c8ecd8ce76c1f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.24-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 181f1539d169cc99dda9e4c968d8d8bdbd0d57a45e17d193670c0ccf52aa6d49
MD5 351b78d559e0f201326b6cf8b963922c
BLAKE2b-256 a584bf0616dccdb33711ee922b7969104175c8f923670c53995ad708dc1e7414

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.24-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 fc4f4dc8c98539e3aa8c7bb40c15bcf8a03e9bc58d752dc7c5e7a22af940648a
MD5 28583d75735ecba5dceae63e2b6b10a1
BLAKE2b-256 069a3a4747348fcca57041e756016ea84d1fb39f64ef3bc732aa6298fe587e03

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.24-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 ecab515339ef5ce3db2c555e2da0e9c43d2f91bb9d943922b0a15b8bc470b960
MD5 7d68cab77f8de80218b420c848a8b351
BLAKE2b-256 f385e4155c60b032c0cfcc6367f6baa27260ca0366e21812cc666b857f22b896

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.24-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.24-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 94f1691b14958a41accb6776e26c45ca7b4ac46d8718db9a843466134c8e67bd
MD5 f1d8303b8b88e491fcfe3c759935795c
BLAKE2b-256 cdc4731bef3953646a4fcebc17724292ea0f19214f7b3959a8d9d5899a4f9a34

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.24-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 de53cb86d042f88f333c1511f7f3767ac970955853337c5cb84a25bc180f02d3
MD5 13bdd20e527547c0a5004d5949f5051b
BLAKE2b-256 8085f81c6de61ee9bd6e6d584335f92da7ab0f0ab7700c386d427c1067c2693d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.24-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 98d57a9df31f1be1647d9cbf263a2406500ee6f43d01db80e530abad8e57de7a
MD5 43ed9b1a2335dbe8c1982b1a3c0ac45f
BLAKE2b-256 3e20bb8336a86d062600473f203dad74cd1fa47808aa79585fd8e4728a819ca7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.24-cp39-cp39-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 8f4e08c84868fc969d4cf09fa7927778f5278003b0784afdffcda435010a1146
MD5 967aa05f16bd55c2dd17584bd11ce2ba
BLAKE2b-256 2806c51697aea637098acb4aa6bd97bd0717a34f50c8e524ba3e168fd0fdb11b

See more details on using hashes here.

File details

Details for the file passagemath_glucose-10.5.24-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.24-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d3b59a8ff67dbf02d818b7c1f587530692b3aa2d3348c4a8a84d2560ff9354d0
MD5 e037e7c2571fa0fa1d0e95f78dbd40ac
BLAKE2b-256 3220822423e85544b822604c9caaf0c9dda2c8a2edef9ef84760596c0a687477

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.24-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 13b9bdf0d53356786b4027de9a397ed814676c534a5c6430109e024d2abdbaf0
MD5 3272525466a5278ad314c59778c737d8
BLAKE2b-256 788cdbed41a6c3f594d1969df1e558da024b8149f3883897946f5da5983eadc3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for passagemath_glucose-10.5.24-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9af55a6db1d759dd38d46ba4960344d0e13061252be73651e7d618fc67270f1a
MD5 efc2259d46f05a622aa7cd62e872812b
BLAKE2b-256 0aee065a3092660ea790acae2e08e8e83a44c824e4fcf2dab1c7b8729fd24a52

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