8 private readonly
string[] _diagnostics;
14 IEnumerable<string> diagnostics)
19 _diagnostics = diagnostics.ToArray();
Describes solver availability and the installation selected by an adapter.
SolverSelectionResult(SolverKind requestedSolver, IOptimizationSolverAdapter? selectedAdapter, SolverAvailabilityInfo? availability, IEnumerable< string > diagnostics)
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.
Defines the common metadata and availability contract implemented by every optimization-solver adapte...
SolverKind
Identifies a mathematical optimization solver that can be used by solver-backed ULS algorithms.