talus-checkerApache-2.0

Pre-release. Buttons on this page are placeholders.

Re-check a solver answer in exact rational arithmetic.

talus-checker is an open-source, Apache-2.0 program that re-checks solver answers in exact rational arithmetic and does not import the solver.

pip install talus-checker
See what it checks
Packages are not published yet. The install command works from the first release.

01

What it checks

Three result types are covered today. Three more are planned.

LP optimalA primal/dual pair, for exact optimalitytalus-check-lpCovered
LP infeasibleAn infeasibility prooftalus-check-infeasibleCovered
MIP incumbent with boundAn incumbent with a row-price boundtalus-check-mipCovered
MIP optimality by search treePlanned
NonlinearSmooth nonlinear programs (NLP) and convex mixed-integer nonlinear programs (MINLP)Planned
Quadratic and conicQP, QCQP, SOCP and mixed-integer versionsPlanned

What it does not do

  • It does not solve models. The solver is at talusbound.com.
  • It does not yet prove MIP optimality by search tree.
  • It does not check nonlinear or conic results.

02

Use

Three commands. Each takes the model and the proof, and prints one line of JSON.

talus-check-lp model.json proof.json
A pass means the primal/dual pair in the proof is exactly optimal for the model.
talus-check-mip model.json proof.json
A pass means the incumbent is feasible for the model and its row-price bound holds.
talus-check-infeasible model.json proof.json
A pass means the proof shows the linear program has no feasible point.

terminal

$ pip install talus-checker   # available at the first release
$ talus-check-lp model.json proof.json
{"verified": true, "objective": "11", "bound": "11", "optimal": true}

the same result, drawn

  • verified true
  • optimal true

An illustration of the result line, not a measurement.

verified
The proof holds against the model.
objective
The objective value. Exact, printed as a string.
bound
The bound the proof gives. Exact, printed as a string.
optimal
True here: the objective and the bound are equal.

03

Certificate format

A certificate is the pair model.json and proof.json. Every command takes both.

model.json
The model the answer is checked against. The proof records this model's SHA-256 digest, and the checker rejects a proof made for a different model.
proof.json
The evidence for one result: an LP primal/dual pair, an LP infeasibility proof, or a MIP incumbent with a row-price bound.
values
Exact rational values are written as strings.

The full field reference is not published yet.

04

Source and license

license
Apache-2.0
dependencies
Zero
python
3.11 or newer
source
Source repository (coming with the first release)
security
Security contact (placeholder)