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 | |
---|
1 | using HeuristicLab.Core;
|
---|
2 | using HeuristicLab.Data;
|
---|
3 | using HeuristicLab.MathematicalOptimization.LinearProgramming.Algorithms.Solvers.Base;
|
---|
4 | using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
|
---|
5 |
|
---|
6 | namespace 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.