ULSAlgorithms
1.1.0-g3e5595996d
High-performance exact and heuristic algorithms for uncapacitated lot sizing
Loading...
Searching...
No Matches
ShortestPathFormulationSolver.cs
Go to the documentation of this file.
1
using
ULSAlgorithms.Formulations.ShortestPath
;
2
using
ULSAlgorithms.Optimization.Execution
;
3
4
namespace
ULSAlgorithms.Exact.Formulations
;
5
6
/// <summary>
7
/// Exact solver-backed ULS strategy using the regeneration shortest-path
8
/// formulation.
9
/// </summary>
10
/// <remarks>
11
/// Applicability is restricted to the no-speculative-motive / Wagner-Whitin
12
/// cost condition required by the underlying formulation builder.
13
/// </remarks>
14
public
sealed
class
ShortestPathFormulationSolver
:
15
SolverBackedUlsFormulationSolverBase
16
{
17
/// <summary>Initializes with automatic optimization-engine selection.</summary>
18
public
ShortestPathFormulationSolver
(
19
LinearModelSolveOptions
? executionOptions =
null
)
20
: base(
21
"Shortest-path formulation"
,
22
new
ShortestPathFormulationBuilder
(),
23
executionOptions: executionOptions)
24
{
25
}
26
27
/// <summary>Initializes with an injected portable model solver.</summary>
28
public
ShortestPathFormulationSolver
(
29
LinearModelSolver
modelSolver,
30
LinearModelSolveOptions
? executionOptions =
null
)
31
: base(
32
"Shortest-path formulation"
,
33
new
ShortestPathFormulationBuilder
(),
34
modelSolver,
35
executionOptions)
36
{
37
}
38
}
ULSAlgorithms.Exact.Formulations.ShortestPathFormulationSolver.ShortestPathFormulationSolver
ShortestPathFormulationSolver(LinearModelSolver modelSolver, LinearModelSolveOptions? executionOptions=null)
Initializes with an injected portable model solver.
Definition
ShortestPathFormulationSolver.cs:28
ULSAlgorithms.Exact.Formulations.ShortestPathFormulationSolver.ShortestPathFormulationSolver
ShortestPathFormulationSolver(LinearModelSolveOptions? executionOptions=null)
Initializes with automatic optimization-engine selection.
Definition
ShortestPathFormulationSolver.cs:18
ULSAlgorithms.Exact.Formulations.SolverBackedUlsFormulationSolverBase.SolverBackedUlsFormulationSolverBase
SolverBackedUlsFormulationSolverBase(string name, IUlsFormulationBuilder formulationBuilder, LinearModelSolver? modelSolver=null, LinearModelSolveOptions? executionOptions=null)
Initializes one solver-backed formulation strategy.
Definition
SolverBackedUlsFormulationSolverBase.cs:25
ULSAlgorithms.Formulations.ShortestPath.ShortestPathFormulationBuilder
Builds an acyclic regeneration-interval shortest-path formulation of ULS.
Definition
ShortestPathFormulationBuilder.cs:32
ULSAlgorithms.Optimization.Execution.LinearModelSolveOptions
Configures one solver-backed execution of a portable linear model.
Definition
LinearModelSolveOptions.cs:7
ULSAlgorithms.Optimization.Execution.LinearModelSolver
High-level solver-independent execution service for portable linear models.
Definition
LinearModelSolver.cs:13
ULSAlgorithms.Exact.Formulations
Definition
AggregateInventoryFormulationSolver.cs:4
ULSAlgorithms.Formulations.ShortestPath
Definition
ShortestPathFormulationBuilder.cs:5
ULSAlgorithms.Optimization.Execution
Definition
CplexXmlSolutionParser.cs:4
src
ULSAlgorithms
Exact
Formulations
ShortestPathFormulationSolver.cs
Generated by
1.17.0