9 private readonly
string[] _selectionDiagnostics;
14 ArgumentNullException.ThrowIfNull(selection);
20 throw new ArgumentException(
21 "A successful solver selection is required.",
35 _selectionDiagnostics = selection.
Diagnostics.ToArray();
SolverAvailabilityStatus Status
Gets the detected availability status.
string InstallationPath
Gets the detected installation root.
string SolverName
Gets the solver display name.
string SolverVersion
Gets the detected solver version.
string LicenseInformation
Gets detected licensing information.
string InstallationPath
Gets the selected installation path.
string AdapterVersion
Gets the selected adapter version.
SolverAvailabilityStatus AvailabilityStatus
Gets the selected availability status.
string AdapterName
Gets the selected adapter name.
IReadOnlyList< string > SelectionDiagnostics
Gets diagnostics explaining automatic or explicit selection.
SolverKind SelectedSolver
Gets the selected concrete solver.
string AdapterId
Gets the selected adapter identifier.
SolverKind RequestedSolver
Gets the requested solver.
SolverExecutionInfo(SolverSelectionResult selection)
Creates an execution snapshot from a successful selection.
string SolverVersion
Gets the detected solver version.
string SolverName
Gets the detected solver name.
string LicenseInformation
Gets detected license information.
Describes the outcome of optimization-solver selection.
IReadOnlyList< string > Diagnostics
Gets deterministic selection diagnostics.
SolverKind RequestedSolver
Gets the solver requested by the caller.
bool IsSelected
Gets whether a usable adapter was selected.
IOptimizationSolverAdapter? SelectedAdapter
Gets the selected adapter, or null when selection failed.
SolverKind SelectedSolver
Gets the selected solver kind, or Unknown when none was selected.
SolverAvailabilityInfo? Availability
Gets machine-availability information for the selected solver.
string AdapterId
Gets the stable adapter identifier.
string AdapterName
Gets the adapter display name.
string AdapterVersion
Gets the adapter implementation version.
SolverAvailabilityStatus
Describes whether a solver can currently be used on the current computer.
SolverKind
Identifies a mathematical optimization solver that can be used by solver-backed ULS algorithms.