3using System.Threading.Tasks;
4using LotSizingDataModel.Instance;
41 public static ValueTask<StandardLotSizingIntegrationCheckResult>
43 LotSizingInstance instance,
45 CancellationToken cancellationToken =
default)
80 public static async ValueTask<StandardLotSizingIntegrationCheckResult>
82 LotSizingInstance instance,
87 CancellationToken cancellationToken =
default)
89 ArgumentNullException.ThrowIfNull(instance);
90 ArgumentNullException.ThrowIfNull(formulationOptions);
91 ArgumentNullException.ThrowIfNull(discoveryOptions);
92 ArgumentNullException.ThrowIfNull(solverParameters);
111 PreferredSolver = preferredSolver,
112 FormulationName =
"standard",
113 RunName =
"Standard lot-sizing integration check",
114 Parameters = solverParameters
Defines solver-independent parameters for an optimization run.
Configures how solver adapter plugins and native solver installations are discovered on the current c...
async ValueTask< SolverRunResult > SolveAsync(SolverRequest request, CancellationToken cancellationToken=default)
Solves a complete lot-sizing instance.
Describes a request to solve a lot-sizing instance.
Represents the normalized result of a solver execution.
Executes the complete standard lot-sizing workflow against an existing instance.
static ValueTask< StandardLotSizingIntegrationCheckResult > RunAsync(LotSizingInstance instance, SolverKind preferredSolver=SolverKind.Automatic, CancellationToken cancellationToken=default)
Runs the integration check with default formulation, discovery, and solver parameters.
static async ValueTask< StandardLotSizingIntegrationCheckResult > RunAsync(LotSizingInstance instance, StandardLotSizingFormulationOptions formulationOptions, SolverDiscoveryOptions discoveryOptions, SolverParameters solverParameters, SolverKind preferredSolver, CancellationToken cancellationToken=default)
Runs the integration check with explicit configuration.
Represents the result of a complete standard lot-sizing integration check.
Represents the complete initialization result for the standard lot-sizing solver infrastructure.
bool CanSolve
Gets a value indicating whether at least one discovered solver can currently solve mathematical model...
LotSizingSolverService? SolverService
Gets the initialized high-level solver service, or null when initialization did not produce a service...
Provides one-step initialization of the standard lot-sizing formulation together with solver discover...
static ValueTask< StandardLotSizingSolverBootstrapResult > InitializeAsync(CancellationToken cancellationToken=default)
Initializes the standard formulation and discovers available solver adapters using default options.
SolverKind
Identifies a supported mathematical optimization solver.