Ignore:
Timestamp:
10/18/18 13:55:09 (12 months ago)
Author:
ddorfmei
Message:

#2931:

  • updated plugin dependencies
  • added solver library name defaults to settings
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2931_OR-Tools_LP_MIP/HeuristicLab.MathematicalOptimization/3.3/LinearProgramming/Algorithms/Solvers/ScipSolver.cs

    r16233 r16234  
    1313    public ScipSolver() {
    1414      Parameters.Add(libraryNameParam = new FixedValueParameter<FileValue>(nameof(LibraryName),
    15         new FileValue { FileDialogFilter = FileDialogFilter, Value = "scip.dll" }));
     15        new FileValue { FileDialogFilter = FileDialogFilter, Value = Properties.Settings.Default.ScipLibraryName }));
    1616      programmingTypeParam.Value =
    1717        (EnumValue<LinearProgrammingType>)new EnumValue<LinearProgrammingType>(LinearProgrammingType
     
    1919    }
    2020
    21     public override OptimizationProblemType OptimizationProblemType =>
    22       OptimizationProblemType.SCIP_MIXED_INTEGER_PROGRAMMING;
     21    public override bool SupportsPause => true;
    2322
    24     public override bool SupportsPause => true;
    2523    public override bool SupportsStop => true;
     24
     25    protected override OptimizationProblemType OptimizationProblemType =>
     26              OptimizationProblemType.SCIP_MIXED_INTEGER_PROGRAMMING;
    2627  }
    2728}
Note: See TracChangeset for help on using the changeset viewer.