Skip to main content

ceris

Solve LP and MIP optimization models over the Ceris API. No account, no API key.

pip install ceris
import ceris

result = ceris.solve("model.lp")   # path to a .lp/.mps file, or LP text directly
print(result.status)               # "optimal"
print(result.objective_value)
print(result.solution)             # {"x": 4.0, "y": 0.0}

Infeasible models come back with the conflicting constraints named:

if result.status == "infeasible":
    print(result.iis["message"])   # "Constraints 'c_low' and 'c_high' cannot all be satisfied together."

Limits: HiGHS solver, 60 s per solve, 100k non-zeros, 5 MB request, ~10 solves/min/IP. Free while in beta.

Full docs: https://ceris.fyi/docs/

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ceris-0.1.0.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ceris-0.1.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file ceris-0.1.0.tar.gz.

File metadata

  • Download URL: ceris-0.1.0.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.7

File hashes

Hashes for ceris-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a73b1dfbe2d9f58793ffdd869fa3a3d1afc280fb4950b33ea4854cc03e863af5
MD5 a56e1ab42bc415cc963f1e6d77c3d8ab
BLAKE2b-256 05f8679f709819baa3634c513b15e211d4cbb38a883231b0dab642decba1281a

See more details on using hashes here.

File details

Details for the file ceris-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ceris-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.7

File hashes

Hashes for ceris-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a4356f74803cb6ae5b6dfe057f037fb6d310e5eef995e0533fa00c646cea7620
MD5 25f64c13e878a129e40770cc80bfa1da
BLAKE2b-256 768ac6094aa0a9c0528991b5bbaf325aa6fa231722b58214c01910112736c9ad

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 Sentry Error logging StatusPage Status page