source: stable/HeuristicLab.ExactOptimization/3.3/LinearProgramming/Algorithms/Solvers/Base/ILinearSolver.cs @ 17173

Last change on this file since 17173 was 17173, checked in by abeham, 3 months ago

#2931: merged r16940 to stable

File size: 1.7 KB
Line 
1#region License Information
2/* HeuristicLab
3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
4 *
5 * This file is part of HeuristicLab.
6 *
7 * HeuristicLab is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * HeuristicLab is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
19 */
20#endregion
21
22using System;
23using System.Threading;
24using HEAL.Attic;
25using HeuristicLab.Core;
26using HeuristicLab.Optimization;
27
28namespace HeuristicLab.ExactOptimization.LinearProgramming {
29
30  [StorableType("D647D4F0-A0F5-4091-8F12-54E59CEF12E4")]
31  public interface ILinearSolver : IParameterizedNamedItem {
32    double DualTolerance { get; set; }
33
34    bool Presolve { get; set; }
35
36    double PrimalTolerance { get; set; }
37
38    ProblemType ProblemType { get; }
39
40    double RelativeGapTolerance { get; set; }
41
42    bool Scaling { get; set; }
43
44    bool SupportsPause { get; }
45
46    bool SupportsStop { get; }
47
48    TimeSpan TimeLimit { get; set; }
49
50    bool InterruptSolve();
51
52    void Reset();
53
54    void Solve(ILinearProblemDefinition problemDefintion, ResultCollection results);
55
56    void Solve(ILinearProblemDefinition problemDefintion,
57      ResultCollection results, CancellationToken cancellationToken);
58  }
59}
Note: See TracBrowser for help on using the repository browser.