solver

fun ReportBuilder.solver(s: Solver, caption: String? = null)(source)

Convenience overload that reads Solver.solverResult and delegates to solverResult.

Usage:

solver.runAllIterations()
val doc = report("Optimisation Study") {
solver(mySolver)
}

Parameters

s

the solver whose current result will be reported

caption

optional section title; defaults to the solver's name