LotSizingDataModel.Solver
2.0.1
Solver-independent modeling, execution, monitoring and adapter infrastructure.
Loading...
Searching...
No Matches
ISolverDiscoveryService.cs
Go to the documentation of this file.
1
using
System.Threading;
2
using
System.Threading.Tasks;
3
4
namespace
LotSizingDataModel.Solver.Discovery
;
5
6
/// <summary>
7
/// Defines a service that discovers solver adapter plugins and
8
/// native solver installations on the current computer.
9
/// </summary>
10
public
interface
ISolverDiscoveryService
11
{
12
/// <summary>
13
/// Discovers solver adapters and native solver
14
/// installations.
15
/// </summary>
16
/// <param name="options">
17
/// Solver-discovery options.
18
/// </param>
19
/// <param name="cancellationToken">
20
/// Token used to cancel the discovery operation.
21
/// </param>
22
/// <returns>
23
/// Complete solver-discovery result.
24
/// </returns>
25
/// <exception cref="System.ArgumentNullException">
26
/// Thrown when <paramref name="options"/> is
27
/// <see langword="null"/>.
28
/// </exception>
29
ValueTask<SolverDiscoveryResult>
DiscoverAsync
(
30
SolverDiscoveryOptions
options,
31
CancellationToken cancellationToken =
default
);
32
}
LotSizingDataModel.Solver.Discovery.SolverDiscoveryOptions
Configures how solver adapter plugins and native solver installations are discovered on the current c...
Definition
SolverDiscoveryOptions.cs:14
LotSizingDataModel.Solver.Discovery.ISolverDiscoveryService
Defines a service that discovers solver adapter plugins and native solver installations on the curren...
Definition
ISolverDiscoveryService.cs:11
LotSizingDataModel.Solver.Discovery.ISolverDiscoveryService.DiscoverAsync
ValueTask< SolverDiscoveryResult > DiscoverAsync(SolverDiscoveryOptions options, CancellationToken cancellationToken=default)
Discovers solver adapters and native solver installations.
LotSizingDataModel.Solver.Discovery
Definition
DefaultSolverDiscoveryService.cs:10
LotSizingDataModel.Solver
Discovery
ISolverDiscoveryService.cs
Generated by
1.17.0