ULSAlgorithms 1.1.0-g3e5595996d
High-performance exact and heuristic algorithms for uncapacitated lot sizing
Loading...
Searching...
No Matches
SolverBackedUlsSolveResult.cs
Go to the documentation of this file.
4
6
7/// <summary>
8/// ULS solve result enriched with mathematical-formulation and optimization
9/// engine provenance.
10/// </summary>
11public sealed class SolverBackedUlsSolveResult :
13{
14 /// <summary>Initializes a solver-backed ULS result.</summary>
16 string solverName,
17 UlsSolveStatus status,
18 UlsFormulationKind formulationKind,
19 LinearModelSolveResult modelExecution,
20 UlsSolution? solution = null,
21 string? message = null)
22 : base(
23 solverName,
24 status,
25 solution,
26 message)
27 {
28 FormulationKind = formulationKind;
30 modelExecution ??
31 throw new ArgumentNullException(
32 nameof(modelExecution));
33 }
34
35 /// <summary>Gets the mathematical formulation used.</summary>
37
38 /// <summary>
39 /// Gets the complete portable-model execution result, including normalized
40 /// variable values and independent model validation.
41 /// </summary>
43
44 /// <summary>Gets the concrete selected optimization engine, when available.</summary>
46 ModelExecution.Solver;
47}
Result of executing a solver-independent linear or mixed-integer model.
Serializable-style immutable snapshot of the solver selected for one solver-backed ULS execution.
SolverExecutionInfo? OptimizationSolver
Gets the concrete selected optimization engine, when available.
LinearModelSolveResult ModelExecution
Gets the complete portable-model execution result, including normalized variable values and independe...
SolverBackedUlsSolveResult(string solverName, UlsSolveStatus status, UlsFormulationKind formulationKind, LinearModelSolveResult modelExecution, UlsSolution? solution=null, string? message=null)
Initializes a solver-backed ULS result.
UlsFormulationKind FormulationKind
Gets the mathematical formulation used.
Represents a feasible production plan for a ULS problem.
Definition UlsSolution.cs:7
UlsSolveResult(string solverName, UlsSolveStatus status, UlsSolution? solution=null, string? message=null)
Initializes a solve result.
UlsFormulationKind
Identifies a mathematical-programming formulation of classical ULS.
UlsSolveStatus
Describes the mathematical status of a ULS solve.