Changeset 16405 for branches/2931_OR-Tools_LP_MIP/HeuristicLab.MathematicalOptimization/3.3/LinearProgramming/Algorithms/Solvers/Base/ILinearSolver.cs
- Timestamp:
- 12/19/18 14:15:49 (5 years ago)
- 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 20 20 #endregion 21 21 22 using System; 22 23 using System.Threading; 23 24 using HeuristicLab.Core; 25 using HeuristicLab.Optimization; 24 26 25 namespace HeuristicLab.MathematicalOptimization.LinearProgramming .Algorithms.Solvers.Base{27 namespace HeuristicLab.MathematicalOptimization.LinearProgramming { 26 28 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 29 48 bool SupportsPause { get; } 49 30 50 bool SupportsStop { get; } 51 52 TimeSpan TimeLimit { get; set; } 31 53 32 54 bool InterruptSolve(); … … 34 56 void Reset(); 35 57 36 void Solve( LinearProgrammingAlgorithm algorithm);58 void Solve(ILinearProgrammingProblemDefinition problemDefintion, ref TimeSpan executionTime, ResultCollection results); 37 59 38 void Solve(LinearProgrammingAlgorithm algorithm, CancellationToken cancellationToken); 60 void Solve(ILinearProgrammingProblemDefinition problemDefintion, ref TimeSpan executionTime, 61 ResultCollection results, CancellationToken cancellationToken); 39 62 } 40 63 }
Note: See TracChangeset
for help on using the changeset viewer.