Skip to main content

A library for OMT(BV) Solving

Optimization Modulo Theory (OMT) extends Satisfiability Modulo Theories (SMT) by incorporating optimization objectives.

The Engines

Reduce to Quantified SMT

  • Z3
  • CVC5
  • Yices-QS
  • Bitwuzla

Reduce to Weighted MaxSAT

  • The OBV-BS algorithm
  • The FM algorithm
  • The RC2 algorithm
  • Off-the-shelf MaxSAT solvers
https://github.com/FlorentAvellaneda/EvalMaxSAT

SMT-based Iterative Search

  • Linear search
  • Binary search

TBD

Integration

Exiting OMT solvers?

  • Z3 (to MaxSAT?)
  • OptiMathSAT
  • ...

Optimizations

Improvements to the OBV-BS algorithm

  • Variable Polarity Setting: prefer 1 over 0 during the search?

The relevant API (NOTE: some SAT solvers in pysat do not support this API)

    def set_phases(self, literals=[]):
        """
            Sets polarities of a given list of variables.
        """

TBD: to see how to use this API...

References

  • Sebastiani, R., & Tomasi, S. (2015). Optimization in SMT with LA(Q) cost functions. In International Conference on Principles and Practice of Constraint Programming (pp. 484-498). Springer, Cham.
  • Bjørner, N., Phan, A. D., & Fleckenstein, L. (2015). νZ-an optimizing SMT solver. In International Conference on Tools and Algorithms for the Construction and Analysis of Systems (pp. 194-199). Springer, Berlin, Heidelberg.
  • Martins, R., Manquinho, V. M., & Lynce, I. (2014). Open-WBO: A modular MaxSAT solver. In International Conference on Theory and Applications of Satisfiability Testing (pp. 438-445). Springer, Cham.

Metadata

Release files for pyomt 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyomt 0.0.3
File Size Uploaded Provenance
pyomt-0.0.3.tar.gz 67.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pyomt 0.0.3
File Interpreter ABI Platform
pyomt-0.0.3-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 155.7 kB

Release files / pyomt-0.0.3.tar.gz

Download URL pyomt-0.0.3.tar.gz
Size 67.4 kB
Tags Source
SHA-256 checksum
How to use checksums
70617f434f8725b33cf47d0eb5d887908fb2986ffd61e48fa4b9c56dc1d42379
BLAKE2b-256 checksum
How to use checksums
35186537bb0ac5206cc3d114c7c2c3a164107d4d6e473dcb0ce1d904de203cbe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.6

Release files / pyomt-0.0.3-py2.py3-none-any.whl

Download URL pyomt-0.0.3-py2.py3-none-any.whl
Size 88.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
cc654c87c701b84c820049babbd8f8fca90deb2e2c05638a9b529cb0abcef8d1
BLAKE2b-256 checksum
How to use checksums
c36852b5056d8d7bd91434540729d7bfea665b9091a895891f7a2f9f5225fc3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.6

Security for pyomt 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page