MathModelSolutionSummary Method

Returns text summarizing the solution. For instance:
C#
var resSolution = await solver.Solve(model, pars);
MathModelSolution solution = resSolution.Unwrap(); // normally, check if it is 'IsOk' before unwrapping!
Console.WriteLine(solution.Summary());
logs the following to the console:
C#
model                      : dummy model
solution exists            ? True
status                     : integer optimal solution
objective value            : Some(12)
# variables (lp)           : 12
# variables (sol)          : 12
# non-zero variables (sol) : 12

Definition

Namespace: Orx.MathProg.Solvers
Assembly: Orx.MathProg (in Orx.MathProg.dll) Version: 1.0.0
C#
public string Summary()

Return Value

String

See Also