Alleria Source (private)
OPTIMIZATION SOFTWARE formerly Hermes

Alleria

Turn constraints into decisions. A solver built in Rust for linear and mixed-integer optimization, with Python and CLI interfaces that keep the model in your hands.

0.8.21 · In active development · Built from scratch

THE SHAPE OF A SOLUTIONLinear programming
Finding an optimum in a feasible regionMaximize 3x plus 2y, subject to x plus y at most 4, x at most 3, and nonnegative variables. The optimum is x equals 3, y equals 1. FEASIBLE REGIONx ≤ 3x + y ≤ 4 OPTIMAL SOLUTIONx = 3, y = 1 01234x1234y
maximize 3x + 2yobjective 11.0
01 Linear programming02 Mixed-integer models03 Python + CLI04 Inspectable execution

FROM MODEL TO DECISION

Modeling and solving

Allocate a limited budget. Choose a set of projects. Find a feasible production plan. Alleria brings the same building blocks to each problem: variables, an objective, and constraints.

01 /

Model in Python, solve in Rust.

Build a model with a plain Python dictionary or load an LP/MPS file. Use the native backend in process, or the command-line interface.

02 /

Continuous and discrete decisions.

Simplex for linear relaxations. Presolve, cuts, branching, and heuristics for mixed-integer search. Specialized algorithms for recognized structures.

03 /

Understand what happened.

Read the objective, bound, primal values, and solver profile. An optional local visualizer records real executions for replay and inspection.

A SMALL FIRST STEP

Start with an existing model

Already have an LP or MPS file? Solve it from Python and inspect the result.

Read the Python guide
solve.pyPYTHON
from alleria import solve_file

result = solve_file(
    "model.mps",
    preset="exact",
    include_primal=True,
)

# Inspect the outcome before using the solution.
print(result.status, result.objective)
print(result.column_names, result.incumbent_primal)
Use alleria in Python. Existing hermes imports remain supported.

LEARN BY DOING

Examples and interactive models

Move a constraint. Walk through a search. Then run the same models in Python.

01
CONTINUOUS LP

Move the constraints, watch the optimum

Explore a live feasible region and export your model.

02
BINARY MILP

Follow the search, one branch at a time

See bounds, incumbents and pruning in a small knapsack.

03
FILES + CLI

Bring a model you already have

Use the same LP file from Python or the terminal.

PROJECT STATUS

A solver under active development.

Alleria is currently a research solver, version 0.8.21. Numerical qualification and resource enforcement are ongoing; experimental quadratic paths have a narrower scope. Start with the documented linear examples and check results against your model. See the current scope →