Expand description
Human-readable rendering of models, constraints, objectives, and expressions.
Everything here is a lazy adapter holding &Model. The model’s RefCells
are borrowed at format time, so do not format one while holding a mutable
borrow of the arena or registries.
Structs§
- Constraint
Display - Displays one constraint as
name: lhs <= rhs(or a range / equality). Built byModel::display_constraint. - Expr
Display - Displays one expression as infix algebra, e.g.
3 x + 4 y - z. Built byModel::display_expr/Model::display_expr_id. - Objective
Display - Displays the objective as
min <expr>/max <expr>/feasibility. Built byModel::display_objective. - SocDisplay
- Displays one second-order cone constraint as
name: ||t1, t2|| <= bound. Built byModel::display_soc.