Optex.Format (Optex v0.1.0)

Copy Markdown View Source

Human-readable rendering of an Optex.Model using the user-facing names as written (y[1], w[{1, :a}]). Answers "what did my model block actually build?"; for a solver-parseable file see Optex.LP.

Summary

Functions

Render the model as a readable multi-line string.

Functions

pretty(m)

@spec pretty(Optex.Model.t()) :: String.t()

Render the model as a readable multi-line string.