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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
ceris-0.1.0-py3-none-any.whl
(2.5 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a73b1dfbe2d9f58793ffdd869fa3a3d1afc280fb4950b33ea4854cc03e863af5
|
|
| MD5 |
a56e1ab42bc415cc963f1e6d77c3d8ab
|
|
| BLAKE2b-256 |
05f8679f709819baa3634c513b15e211d4cbb38a883231b0dab642decba1281a
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4356f74803cb6ae5b6dfe057f037fb6d310e5eef995e0533fa00c646cea7620
|
|
| MD5 |
25f64c13e878a129e40770cc80bfa1da
|
|
| BLAKE2b-256 |
768ac6094aa0a9c0528991b5bbaf325aa6fa231722b58214c01910112736c9ad
|