3using System.Threading.Tasks;
24 event EventHandler<SolverProgressEventArgs>?
71 CancellationToken cancellationToken =
default);
96 CancellationToken cancellationToken =
default);
Describes a request to solve a lot-sizing instance.
Defines the common contract implemented by every lot-sizing solver adapter.
Task< SolverRunResult > SolveAsync(SolverRequest request, CancellationToken cancellationToken=default)
Solves a lot-sizing instance.
void RequestStop()
Requests interruption of the current solver execution.
string SolverVersion
Gets the detected solver version.
bool IsRunning
Gets a value indicating whether a solve operation is currently running.
ValueTask< SolverAvailabilityInfo > CheckAvailabilityAsync(CancellationToken cancellationToken=default)
Checks whether the solver is installed, loadable, and licensed when a license is required.
string SolverName
Gets the display name of the solver.
EventHandler< SolverProgressEventArgs >? ProgressChanged
Occurs when new progress information is available.
SolverKind SolverKind
Gets the solver kind implemented by this adapter.