Ignore:
Timestamp:
12/19/18 14:15:49 (5 months ago)
Author:
ddorfmei
Message:

#2931:

  • moved views to separate plugin HeuristicLab.MathematicalOptimization.Views
  • added button in LinearProgrammingProblemView to select the problem definition type
  • added views for problem definitions
  • added ExportFile parameter to LinearProgrammingAlgorithm
  • extended FileValue and FileValueView by the option to save a file
  • code cleanup
File:
1 edited

Legend:

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

    r16373 r16405  
    2020#endregion
    2121
     22using System;
    2223using HeuristicLab.Common;
    2324using HeuristicLab.Core;
    24 using HeuristicLab.MathematicalOptimization.LinearProgramming.Algorithms.Solvers.Base;
     25using HeuristicLab.Optimization;
    2526using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2627
    27 namespace HeuristicLab.MathematicalOptimization.LinearProgramming.Algorithms.Solvers {
     28namespace HeuristicLab.MathematicalOptimization.LinearProgramming {
    2829
    2930  [Item("Clp/Cbc", "Clp (https://projects.coin-or.org/Clp) and Cbc (https://projects.coin-or.org/Cbc) can be used out of the box.")]
    3031  [StorableClass]
    31   public class CoinOrSolver : IncrementalSolver {
     32  public class CoinOrSolver : IncrementalLinearSolver {
    3233
    3334    public CoinOrSolver() {
     
    5455        ? OptimizationProblemType.ClpLinearProgramming
    5556        : OptimizationProblemType.CbcMixedIntegerProgramming;
     57
     58    public override void Solve(ILinearProgrammingProblemDefinition problemDefinition, ResultCollection results, TimeSpan timeLimit) {
     59      // TODO: warning that solver cannot be stopped or paused
     60      base.Solve(problemDefinition, results, timeLimit);
     61    }
    5662  }
    5763}
Note: See TracChangeset for help on using the changeset viewer.