Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2931_OR-Tools_LP_MIP/HeuristicLab.MathematicalOptimization/3.3/LinearProgramming/Algorithms/Solvers/Base/ISolver.cs @ 16233

Last change on this file since 16233 was 16233, checked in by ddorfmei, 6 years ago

#2931:

  • added all available parameters OR-Tools's linear_solver to LinearProgrammingAlgorithm
    • added necessary parameter enums
  • moved solving logic to Solver
    • created IncrementalSolver, ExternalSolver, ExternalIncrementalSolver
    • added logic for solvers that can be stopped and resumed
  • added SupportsStop property to BasicAlgorithm
  • added quality per time chart for incremental solvers
File size: 600 bytes
Line 
1using System.Threading;
2using HeuristicLab.Core;
3
4namespace HeuristicLab.MathematicalOptimization.LinearProgramming.Algorithms.Solvers.Base {
5
6  public interface ISolver : IParameterizedNamedItem {
7    LinearProgrammingType LinearProgrammingType { get; set; }
8    OptimizationProblemType OptimizationProblemType { get; }
9    bool SupportsPause { get; }
10    bool SupportsStop { get; }
11
12    void Interrupt();
13
14    void Reset();
15
16    void Solve(LinearProgrammingAlgorithm algorithm);
17
18    void Solve(LinearProgrammingAlgorithm algorithm, CancellationToken cancellationToken);
19  }
20}
Note: See TracBrowser for help on using the repository browser.