Skip to main content

format_sol

Function format_sol 

Source
pub fn format_sol(payload: &SolutionFile<'_>) -> String
Expand description

Format payload into AMPL .sol ASCII text, with a generic Options block.

Prefer format_sol_with_options whenever the originating .nl is available: a real ASL solver echoes that model’s option words, and this entry point has none to echo.