Interface ISolver
Represents a SolverBase instance for mathematical programming problems.
Inherited Members
System.IDisposable.Dispose()
Namespace: OPTANO.Modeling.Optimization.Interfaces
Assembly: Optimization.dll
Syntax
public interface ISolver : ICanSolve<Model, Solution>, IAbortable, IDisposable
Properties
Configuration
Gets or sets the configuration as SolverConfiguration. To get the solver specific {T}-configuration, cast the ISolver variable to GenericSolverBase<T>.
Declaration
SolverConfiguration Configuration { get; set; }
Property Value
| Type | Description |
|---|---|
| SolverConfiguration |
Methods
ClearLastModel()
Deletes the internal datastructures of this solver instance.
Declaration
void ClearLastModel()
Exceptions
| Type | Condition |
|---|---|
| System.InvalidOperationException | If this SolverBase instance |
SetMultiHierarchicalInterruptionCallback(SolverBase.InterruptMultiHierarchicalOptimization)
Sets the given callback with which the user can specify whether a multi hierarchical optimization should be interrupted.
Declaration
void SetMultiHierarchicalInterruptionCallback(SolverBase.InterruptMultiHierarchicalOptimization callback)
Parameters
| Type | Name | Description |
|---|---|---|
| SolverBase.InterruptMultiHierarchicalOptimization | callback | The callback delegate. |