Skip to main content

popso

popso is an open-source solver for linear and mixed-integer linear programs (LP / MILP), convex quadratic programs (QP / MIQP), and convex quadratically constrained and second-order cone programs (QCQP / MIQCQP, SOCP / MISOCP). It is written from scratch in C++20.

pip install popso gives you both:

  • the popso command: popso model.mps --time-limit 60 (MPS, LP and CBF files, plain or gzipped);
  • the Python API:
import popso

m = popso.Model("example")
x = m.add_var(ub=10, vtype=popso.INTEGER, name="x")
y = m.add_var(name="y")
m.add_constr(x + 2 * y <= 14)
m.add_constr(3 * x - y >= 0)
m.set_objective(3 * x + 4 * y, sense=popso.MAXIMIZE)
r = m.solve(time_limit=10)
print(r.status, r.objective, r[x], r[y])

Documentation, benchmarks against HiGHS and SCIP, and the changelog are on GitHub. License: Apache-2.0.

Metadata

Release files for popso 0.12.0

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

Source distribution (sdist)

Source distribution for popso 0.12.0
File Size Uploaded Provenance Actions
popso-0.12.0.tar.gz 736.8 kB With provenance Details for popso-0.12.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for popso 0.12.0
File Actions
popso-0.12.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for popso-0.12.0-py3-none-win_amd64.whl
popso-0.12.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for popso-0.12.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
popso-0.12.0-py3-none-macosx_11_0_x86_64.whl Python 3 none macOS 11.0+ x86-64 Details for popso-0.12.0-py3-none-macosx_11_0_x86_64.whl
popso-0.12.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for popso-0.12.0-py3-none-macosx_11_0_arm64.whl

Total release size: 12.4 MB

Release files / popso-0.12.0.tar.gz

Download URL popso-0.12.0.tar.gz
Size 736.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5723ad8174688a0c886b916fa8f6c39477746319b4ccd07cced963314d995929
BLAKE2b-256 checksum
How to use checksums
2c739c4039e538ac64989c7525ae06ae0aa7de304f54b2d6e17285be58b252ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Release files / popso-0.12.0-py3-none-win_amd64.whl

Download URL popso-0.12.0-py3-none-win_amd64.whl
Size 2.6 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
1fda3d524d090f91ef17234f9bcac0f880b393ef4ef756b47a35cee1e0f31d35
BLAKE2b-256 checksum
How to use checksums
b8be765a62117125801a5efcbc331100f2d97ce05562e9e99cd59078927837a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Release files / popso-0.12.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL popso-0.12.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.4 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
5a000ffbeb33006612ac4c5341d17e00acdb76485d81b2cf962cdc7b3233854c
BLAKE2b-256 checksum
How to use checksums
8f8cc554cf3b2c26c19df385121852dee9fc93549124acddc96742228a6e8e3d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Release files / popso-0.12.0-py3-none-macosx_11_0_x86_64.whl

Download URL popso-0.12.0-py3-none-macosx_11_0_x86_64.whl
Size 3.0 MB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
396b5c5a82d80e4e57e5e460530df3981f83c2165f2e4e3d2897619f960a7b87
BLAKE2b-256 checksum
How to use checksums
2e6a53604880a22cf674567a4d11b9b50d1e53c60b7777d7aaf9601a0e95ba78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Release files / popso-0.12.0-py3-none-macosx_11_0_arm64.whl

Download URL popso-0.12.0-py3-none-macosx_11_0_arm64.whl
Size 2.7 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
281eaf7e571583e05d3811d520b00472d0623aa5b90634a0c1b0bf76dc12349e
BLAKE2b-256 checksum
How to use checksums
40f132f3b98fea0d50385b90af2c8ed38617e4d6bfc5840e0274b95b6e26a038
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Security for popso 0.12.0

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.

Full provenance

All 5 files in this release have been uploaded with provenance metadata.

Select from 5 files

Attestation for popso-0.12.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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