Show / Hide Table of Contents

    Class MipCLSolver

    Inheritance
    System.Object
    SolverBase
    GenericSolverBase<MipCLSolverConfiguration>
    MipCLSolver
    Inherited Members
    GenericSolverBase<MipCLSolverConfiguration>.Configuration
    SolverBase._busyLock
    SolverBase.CurrentModel
    SolverBase.TriviallyFeasibleConstraintHandling
    SolverBase.Transformation
    SolverBase._model
    SolverBase.IsMultiHierachicalModel
    SolverBase.SetMultiHierarchicalInterruptionCallback(SolverBase.InterruptMultiHierarchicalOptimization)
    SolverBase.Solve(Model, Dictionary<Variable, Double>)
    SolverBase.CachedMergedObjectives
    SolverBase.GetMergedObjectiveForPriorityLevel(Int32, Boolean)
    SolverBase.GetRelevantObjectivesForPrioLevel(Int32)
    SolverBase.ResolveAdapterSpecific(Int32, IDictionary<Variable, Double>)
    SolverBase.RestoreModel(Solution)
    SolverBase.TransformModel()
    SolverBase.ExportFileSolverSpecific(FileInfo)
    SolverBase.CanExportFile(FileInfo, ExportTime, Boolean)
    SolverBase.RebuildSolverModelAdapterSpecific(Int32)
    SolverBase.SetBranchingPriorityAdapterSpecific()
    SolverBase.SetBranchingDirectionAdapterSpecific()
    SolverBase.SetTimelimitAndGapForCurrentStage(Int32, TimeSpan, Double)
    SolverBase.Dispose()
    SolverBase.DisposeCustom()
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: OPTANO.Modeling.Optimization.Solver.MipCL213
    Assembly: Optimization.Solver.MipCL213.dll
    Syntax
    public class MipCLSolver : GenericSolverBase<MipCLSolverConfiguration>, ISolver, ICanSolve<Model, Solution>, IAbortable, IDisposable

    Constructors

    MipCLSolver(MipCLSolverConfiguration)

    Declaration
    public MipCLSolver(MipCLSolverConfiguration config = null)
    Parameters
    Type Name Description
    MipCLSolverConfiguration config

    Fields

    _mipcl_mipmodel

    Declaration
    public CMIP _mipcl_mipmodel
    Field Value
    Type Description
    OPTANO.Modeling.Optimization.Solver.MipCL213.WrapperCsharp.CMIP

    Methods

    Abort()

    This solver does not support aborting the solution finding process

    Declaration
    public override void Abort()
    Overrides
    SolverBase.Abort()

    AddConstraint(Constraint)

    Since is not implemented by MIP CL, this method does nothing.

    Declaration
    protected void AddConstraint(Constraint constraint)
    Parameters
    Type Name Description
    Constraint constraint

    The Constraint to add.

    AddObjective(Objective)

    Replaces the current objective with objective.

    Declaration
    protected override void AddObjective(Objective objective)
    Parameters
    Type Name Description
    Objective objective

    The objective.

    Overrides
    SolverBase.AddObjective(Objective)

    BuildSolverModelAdapterSpecific(Int32)

    Solves the specified CurrentModel. If specified in CopySolutionToModel, the results of a solved Model will automatically be written in the OPTANO.Modeling's Variables.

    Declaration
    protected override void BuildSolverModelAdapterSpecific(int prioLevel = 0)
    Parameters
    Type Name Description
    System.Int32 prioLevel

    The priority level to solve for.

    Overrides
    SolverBase.BuildSolverModelAdapterSpecific(Int32)

    ClearLastModel()

    Deletes the internal datastructures of this SolverBase instance.

    Declaration
    public override void ClearLastModel()
    Overrides
    SolverBase.ClearLastModel()
    Exceptions
    Type Condition
    System.InvalidOperationException

    If this SolverBase instance .

    ConfigureLogfile()

    Enables logging of (at least) basic information about matrix sizes for MIPCL.

    Declaration
    protected virtual void ConfigureLogfile()

    RemoveConstraint(String)

    Since is not implemented by MIP CL, this method does nothing.

    Declaration
    protected override void RemoveConstraint(string name)
    Parameters
    Type Name Description
    System.String name

    The Name to remove.

    Overrides
    SolverBase.RemoveConstraint(String)

    SetConfigurationAdapterSpecific()

    Updates the configuration of the MIP CL solver.

    Declaration
    protected override void SetConfigurationAdapterSpecific()
    Overrides
    SolverBase.SetConfigurationAdapterSpecific()

    SolveAdapterSpecific(Int32, IDictionary<Variable, Double>)

    Solves the specified CurrentModel. If specified in CopySolutionToModel, the results of a solved Model will automatically be written in the OPTANO.Modeling's Variables.

    Declaration
    protected override Solution SolveAdapterSpecific(int prioLevel = 0, IDictionary<Variable, double> variableValues = null)
    Parameters
    Type Name Description
    System.Int32 prioLevel

    The priority level to solve for.

    System.Collections.Generic.IDictionary<Variable, System.Double> variableValues

    The starting values to pass as initial solution.

    Returns
    Type Description
    Solution

    The Solution. Before accessing the VariableValues, make sure that the Model is Feasible and the Solution is Feasible or Optimal.

    Overrides
    SolverBase.SolveAdapterSpecific(Int32, IDictionary<Variable, Double>)

    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