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.
1
using
ULSAlgorithms.Models
;
2
using
ULSAlgorithms.Results
;
3
4
namespace
ULSAlgorithms.Abstractions
;
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>
14
public
interface
IAsyncUlsSolver
15
{
16
/// <summary>Solves a ULS problem asynchronously.</summary>
17
ValueTask<UlsSolveResult>
SolveAsync
(
18
UlsProblem
problem,
19
CancellationToken cancellationToken =
default
);
20
}
ULSAlgorithms.Models.UlsProblem
Represents a validated classical uncapacitated lot-sizing problem.
Definition
UlsProblem.cs:23
ULSAlgorithms.Abstractions.IAsyncUlsSolver
Optional asynchronous companion contract for ULS strategies whose implementation delegates work to an...
Definition
IAsyncUlsSolver.cs:15
ULSAlgorithms.Abstractions.IAsyncUlsSolver.SolveAsync
ValueTask< UlsSolveResult > SolveAsync(UlsProblem problem, CancellationToken cancellationToken=default)
Solves a ULS problem asynchronously.
ULSAlgorithms.Abstractions
Definition
IAsyncUlsSolver.cs:4
ULSAlgorithms.Models
Definition
UlsProblem.cs:1
ULSAlgorithms.Results
Definition
AdaptiveExactUlsSolveResult.cs:1
src
ULSAlgorithms
Abstractions
IAsyncUlsSolver.cs
Generated by
1.17.0