Show / Hide Table of Contents

    Interface ISolver

    Represents a SolverBase instance for mathematical programming problems.

    Inherited Members
    ICanSolve<Model, Solution>.Solve(Model, Dictionary<Variable, Double>)
    IAbortable.Abort()
    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.

    Extension Methods

    ReflectionHelper.GetFieldValue(Object, String)
    ReflectionHelper.SetFieldValue(Object, String, Object)
    ExtensionMethods.Clone<T>(T)
    ExtensionMethods.ThrowIfArgumentIsNull<T>(T, String)
    Back to top Copyright © OPTANO GmbH generated with DocFX
    Privacy Policy | Impressum – Legal Notice