Changeset 16582 for branches/2931_OR-Tools_LP_MIP/HeuristicLab.MathematicalOptimization/3.3/LinearProgramming/Algorithms/Solvers/GurobiSolver.cs
- Timestamp:
- 01/29/19 17:45:06 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2931_OR-Tools_LP_MIP/HeuristicLab.MathematicalOptimization/3.3/LinearProgramming/Algorithms/Solvers/GurobiSolver.cs
r16405 r16582 21 21 22 22 using System; 23 using Google.OrTools.LinearSolver; 23 24 using HeuristicLab.Common; 24 25 using HeuristicLab.Core; … … 27 28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 28 29 29 namespace HeuristicLab. MathematicalOptimization.LinearProgramming {30 namespace HeuristicLab.ExactOptimization.LinearProgramming { 30 31 31 32 [Item("Gurobi", "Gurobi (http://www.gurobi.com/) must be installed and licenced.")] … … 39 40 "# for file format, see http://www.gurobi.com/documentation/8.1/refman/prm_format.html" + Environment.NewLine + 40 41 "# for parameters, see http://www.gurobi.com/documentation/8.1/refman/parameters.html" + Environment.NewLine + 41 "# example:" + Environment.NewLine + 42 "# Seed 10" + Environment.NewLine; 42 "# examples:" + Environment.NewLine + 43 "# Seed 10" + Environment.NewLine + 44 "# Method 2 # Barrier (LP, root node of MIP)" + Environment.NewLine + 45 "# NodeMethod 2 # Barrier (MIP)" + Environment.NewLine; 43 46 } 44 47 … … 53 56 } 54 57 55 protected override OptimizationProblemType OptimizationProblemType =>58 protected override Solver.OptimizationProblemType OptimizationProblemType => 56 59 ProblemType == ProblemType.LinearProgramming 57 ? OptimizationProblemType.GurobiLinearProgramming 58 : OptimizationProblemType.GurobiMixedIntegerProgramming; 60 ? Solver.OptimizationProblemType.GurobiLinearProgramming 61 : Solver.OptimizationProblemType.GurobiMixedIntegerProgramming; 62 63 public override IDeepCloneable Clone(Cloner cloner) => new GurobiSolver(this, cloner); 59 64 } 60 65 }
Note: See TracChangeset
for help on using the changeset viewer.