Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/29/19 17:45:06 (5 years ago)
Author:
ddorfmei
Message:

#2931: solved the issues found during the review

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2931_OR-Tools_LP_MIP/HeuristicLab.MathematicalOptimization/3.3/LinearProgramming/Algorithms/Solvers/GurobiSolver.cs

    r16405 r16582  
    2121
    2222using System;
     23using Google.OrTools.LinearSolver;
    2324using HeuristicLab.Common;
    2425using HeuristicLab.Core;
     
    2728using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2829
    29 namespace HeuristicLab.MathematicalOptimization.LinearProgramming {
     30namespace HeuristicLab.ExactOptimization.LinearProgramming {
    3031
    3132  [Item("Gurobi", "Gurobi (http://www.gurobi.com/) must be installed and licenced.")]
     
    3940        "# for file format, see http://www.gurobi.com/documentation/8.1/refman/prm_format.html" + Environment.NewLine +
    4041        "# 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;
    4346    }
    4447
     
    5356    }
    5457
    55     protected override OptimizationProblemType OptimizationProblemType =>
     58    protected override Solver.OptimizationProblemType OptimizationProblemType =>
    5659      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);
    5964  }
    6065}
Note: See TracChangeset for help on using the changeset viewer.