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:
779 bytes
|
Line | |
---|
1 | using HeuristicLab.Core;
|
---|
2 | using HeuristicLab.MathematicalOptimization.LinearProgramming.Algorithms.Solvers.Base;
|
---|
3 | using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
|
---|
4 |
|
---|
5 | namespace HeuristicLab.MathematicalOptimization.LinearProgramming.Algorithms.Solvers {
|
---|
6 |
|
---|
7 | [Item("BOP", "BOP (https://developers.google.com/optimization/reference/bop/bop_solver/) can be used out of the box.")]
|
---|
8 | [StorableClass]
|
---|
9 | public class BopSolver : IncrementalSolver {
|
---|
10 |
|
---|
11 | public BopSolver() {
|
---|
12 | Parameters.Remove(programmingTypeParam);
|
---|
13 | }
|
---|
14 |
|
---|
15 | public override OptimizationProblemType OptimizationProblemType => OptimizationProblemType.BOP_INTEGER_PROGRAMMING;
|
---|
16 | public override bool SupportsPause => true;
|
---|
17 | public override bool SupportsStop => true;
|
---|
18 | }
|
---|
19 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.