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.
1using System.Threading;
2using System.Threading.Tasks;
3
5
6/// <summary>
7/// Defines a service that discovers solver adapter plugins and
8/// native solver installations on the current computer.
9/// </summary>
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(
31 CancellationToken cancellationToken = default);
32}
Configures how solver adapter plugins and native solver installations are discovered on the current c...
Defines a service that discovers solver adapter plugins and native solver installations on the curren...
ValueTask< SolverDiscoveryResult > DiscoverAsync(SolverDiscoveryOptions options, CancellationToken cancellationToken=default)
Discovers solver adapters and native solver installations.