Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/19/18 14:15:49 (5 years 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 moved

Legend:

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

    r16404 r16405  
    2020#endregion
    2121
     22using System;
    2223using System.Threading;
    2324using HeuristicLab.Core;
     25using HeuristicLab.Optimization;
    2426
    25 namespace HeuristicLab.MathematicalOptimization.LinearProgramming.Algorithms.Solvers.Base {
     27namespace HeuristicLab.MathematicalOptimization.LinearProgramming {
    2628
    27   public interface ISolver : IParameterizedNamedItem {
    28     ProblemType ProblemType { get; set; }
     29  public interface ILinearSolver : IParameterizedNamedItem {
     30    double DualTolerance { get; set; }
     31
     32    string ExportModel { get; set; }
     33
     34    bool Incrementality { get; set; }
     35
     36    LpAlgorithmValues LpAlgorithm { get; set; }
     37
     38    bool Presolve { get; set; }
     39
     40    double PrimalTolerance { get; set; }
     41
     42    ProblemType ProblemType { get; }
     43
     44    double RelativeGapTolerance { get; set; }
     45
     46    bool Scaling { get; set; }
     47
    2948    bool SupportsPause { get; }
     49
    3050    bool SupportsStop { get; }
     51
     52    TimeSpan TimeLimit { get; set; }
    3153
    3254    bool InterruptSolve();
     
    3456    void Reset();
    3557
    36     void Solve(LinearProgrammingAlgorithm algorithm);
     58    void Solve(ILinearProgrammingProblemDefinition problemDefintion, ref TimeSpan executionTime, ResultCollection results);
    3759
    38     void Solve(LinearProgrammingAlgorithm algorithm, CancellationToken cancellationToken);
     60    void Solve(ILinearProgrammingProblemDefinition problemDefintion, ref TimeSpan executionTime,
     61      ResultCollection results, CancellationToken cancellationToken);
    3962  }
    4063}
Note: See TracChangeset for help on using the changeset viewer.