ULSAlgorithms 1.1.0-g3e5595996d
High-performance exact and heuristic algorithms for uncapacitated lot sizing
Loading...
Searching...
No Matches
IOptimizationSolverAdapter.cs
Go to the documentation of this file.
2
3/// <summary>
4/// Defines the common metadata and availability contract implemented by every
5/// optimization-solver adapter used by solver-backed ULS algorithms.
6/// </summary>
7/// <remarks>
8/// Concrete adapters are responsible for the real native-library / executable /
9/// license smoke test for their solver. Automatic selection never infers
10/// usability from a folder name alone.
11/// </remarks>
13{
14 /// <summary>Gets the stable adapter identifier.</summary>
15 string AdapterId { get; }
16
17 /// <summary>Gets the adapter display name.</summary>
18 string AdapterName { get; }
19
20 /// <summary>Gets the adapter implementation version.</summary>
21 string AdapterVersion { get; }
22
23 /// <summary>Gets the concrete solver targeted by this adapter.</summary>
25
26 /// <summary>Gets the capabilities implemented by this adapter.</summary>
27 IReadOnlyCollection<SolverCapability> Capabilities { get; }
28
29 /// <summary>Tests whether the adapter exposes a capability.</summary>
31
32 /// <summary>
33 /// Performs the adapter-specific machine discovery / load / license check.
34 /// </summary>
35 ValueTask<SolverAvailabilityInfo> CheckAvailabilityAsync(
36 CancellationToken cancellationToken = default);
37}
Defines the common metadata and availability contract implemented by every optimization-solver adapte...
SolverKind SolverKind
Gets the concrete solver targeted by this adapter.
bool SupportsCapability(SolverCapability capability)
Tests whether the adapter exposes a capability.
ValueTask< SolverAvailabilityInfo > CheckAvailabilityAsync(CancellationToken cancellationToken=default)
Performs the adapter-specific machine discovery / load / license check.
string AdapterVersion
Gets the adapter implementation version.
IReadOnlyCollection< SolverCapability > Capabilities
Gets the capabilities implemented by this adapter.
SolverCapability
Identifies an optional capability exposed by an optimization-solver adapter.