Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2931_OR-Tools_LP_MIP/HeuristicLab.MathematicalOptimization/3.3/LinearProgramming/Algorithms/Solvers/GlopSolver.cs @ 16234

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

#2931:

  • updated plugin dependencies
  • added solver library name defaults to settings
File size: 876 bytes
Line 
1using HeuristicLab.Core;
2using HeuristicLab.Data;
3using HeuristicLab.MathematicalOptimization.LinearProgramming.Algorithms.Solvers.Base;
4using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
5
6namespace HeuristicLab.MathematicalOptimization.LinearProgramming.Algorithms.Solvers {
7
8  [Item("Glop", "Glop (https://developers.google.com/optimization/lp/glop) can be used out of the box.")]
9  [StorableClass]
10  public class GlopSolver : IncrementalSolver {
11
12    public GlopSolver() {
13      programmingTypeParam.Value = (EnumValue<LinearProgrammingType>)programmingTypeParam.Value.AsReadOnly();
14    }
15
16    public override bool SupportsPause => true;
17
18    public override bool SupportsStop => true;
19
20    protected override OptimizationProblemType OptimizationProblemType =>
21              OptimizationProblemType.GLOP_LINEAR_PROGRAMMING;
22  }
23}
Note: See TracBrowser for help on using the repository browser.