Changeset 16405 for branches/2931_OR-Tools_LP_MIP/HeuristicLab.MathematicalOptimization/3.3/LinearProgramming/Algorithms/Solvers/BopSolver.cs
- Timestamp:
- 12/19/18 14:15:49 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2931_OR-Tools_LP_MIP/HeuristicLab.MathematicalOptimization/3.3/LinearProgramming/Algorithms/Solvers/BopSolver.cs
r16373 r16405 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Data; 26 using HeuristicLab.MathematicalOptimization.LinearProgramming.Algorithms.Solvers.Base;27 26 using HeuristicLab.Parameters; 28 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 29 28 30 namespace HeuristicLab.MathematicalOptimization.LinearProgramming .Algorithms.Solvers{29 namespace HeuristicLab.MathematicalOptimization.LinearProgramming { 31 30 32 31 [Item("BOP", "BOP (https://developers.google.com/optimization/reference/bop/bop_solver/) can be used out of the box.")] 33 32 [StorableClass] 34 public class BopSolver : Incremental Solver {33 public class BopSolver : IncrementalLinearSolver { 35 34 36 35 public BopSolver() { 37 36 Parameters.Remove(problemTypeParam); 38 37 Parameters.Add(new FixedValueParameter<StringValue>(nameof(ProblemType), new StringValue("ZeroOneProgramming").AsReadOnly())); 39 SolverSpecificParameters .Value=38 SolverSpecificParameters = 40 39 "# for file format, see Protocol Buffers text format (https://developers.google.com/protocol-buffers/docs/overview#whynotxml)" + Environment.NewLine + 41 40 "# for parameters, see https://github.com/google/or-tools/blob/v6.10/ortools/bop/bop_parameters.proto" + Environment.NewLine +
Note: See TracChangeset
for help on using the changeset viewer.