solverConfiguration

fun ReportBuilder.solverConfiguration(s: Solver, caption: String = "Solver Configuration")(source)

Appends a single DataTable enumerating the supplied solver's configuration properties — the structured form of Solver.toString, usable in any ReportBuilder-built document.

Pairs naturally with solverResult / solver in the same report: the configuration table documents what was run and the result tables document what came out.

Insertion order of Solver.configurationProperties is preserved — base-class fields appear first, then each subclass's distinctive fields.

Usage:

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

Parameters

s

the solver whose configuration is enumerated

caption

optional table caption; defaults to "Solver Configuration"