ULSAlgorithms
1.1.0-g3e5595996d
High-performance exact and heuristic algorithms for uncapacitated lot sizing
Loading...
Searching...
No Matches
ILinearModelSolverExecutor.cs
Go to the documentation of this file.
1
using
ULSAlgorithms.Optimization.Modeling
;
2
3
namespace
ULSAlgorithms.Optimization.Execution
;
4
5
/// <summary>
6
/// Executes the portable <see cref="LinearModel"/> with one concrete solver.
7
/// </summary>
8
public
interface
ILinearModelSolverExecutor
9
{
10
/// <summary>Gets the concrete solver implemented by this executor.</summary>
11
SolverKind
SolverKind
{
get
; }
12
13
/// <summary>Executes one portable model using an already selected solver.</summary>
14
ValueTask<LinearModelSolveResult>
SolveAsync
(
15
LinearModel
model,
16
SolverSelectionResult
selection,
17
LinearModelSolveOptions
options,
18
CancellationToken cancellationToken =
default
);
19
}
ULSAlgorithms.Optimization.Execution.LinearModelSolveOptions
Configures one solver-backed execution of a portable linear model.
Definition
LinearModelSolveOptions.cs:7
ULSAlgorithms.Optimization.Modeling.LinearModel
Immutable solver-independent linear or mixed-integer linear model.
Definition
LinearModel.cs:7
ULSAlgorithms.Optimization.SolverSelectionResult
Describes the outcome of optimization-solver selection.
Definition
SolverSelectionResult.cs:7
ULSAlgorithms.Optimization.Execution.ILinearModelSolverExecutor
Executes the portable LinearModel with one concrete solver.
Definition
ILinearModelSolverExecutor.cs:9
ULSAlgorithms.Optimization.Execution.ILinearModelSolverExecutor.SolverKind
SolverKind SolverKind
Gets the concrete solver implemented by this executor.
Definition
ILinearModelSolverExecutor.cs:11
ULSAlgorithms.Optimization.Execution.ILinearModelSolverExecutor.SolveAsync
ValueTask< LinearModelSolveResult > SolveAsync(LinearModel model, SolverSelectionResult selection, LinearModelSolveOptions options, CancellationToken cancellationToken=default)
Executes one portable model using an already selected solver.
ULSAlgorithms.Optimization.Execution
Definition
CplexXmlSolutionParser.cs:4
ULSAlgorithms.Optimization.Modeling
Definition
LinearConstraint.cs:1
src
ULSAlgorithms
Optimization
Execution
ILinearModelSolverExecutor.cs
Generated by
1.17.0