write

fun write(config: OptimizationRunConfiguration, runResult: RunResult.OptimizationCompleted, solverResult: SolverResult, solverInstance: Solver, path: Path): Boolean(source)

Write the report to path using a captured SolverResult.

The caller is responsible for capturing the SolverResult before the live Solver reference is cleared — the substrate's Solver.solverResult property is only meaningful while the Solver instance is reachable.