ULSAlgorithms 1.1.0-g3e5595996d
High-performance exact and heuristic algorithms for uncapacitated lot sizing
Loading...
Searching...
No Matches
IAsyncUlsSolver.cs
Go to the documentation of this file.
3
5
6/// <summary>
7/// Optional asynchronous companion contract for ULS strategies whose
8/// implementation delegates work to an external optimization engine.
9/// </summary>
10/// <remarks>
11/// Every implementation also implements <see cref="IUlsSolver"/> so existing
12/// Strategy-pattern code keeps the same synchronous signature.
13/// </remarks>
14public interface IAsyncUlsSolver
15{
16 /// <summary>Solves a ULS problem asynchronously.</summary>
17 ValueTask<UlsSolveResult> SolveAsync(
18 UlsProblem problem,
19 CancellationToken cancellationToken = default);
20}
Represents a validated classical uncapacitated lot-sizing problem.
Definition UlsProblem.cs:23
Optional asynchronous companion contract for ULS strategies whose implementation delegates work to an...
ValueTask< UlsSolveResult > SolveAsync(UlsProblem problem, CancellationToken cancellationToken=default)
Solves a ULS problem asynchronously.