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/CplexSolver.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("CPLEX", "CPLEX (https://www.ibm.com/analytics/cplex-optimizer) must be installed and licenced.")]
     
    4041        "# for file format, see https://www.ibm.com/support/knowledgecenter/SSSA5P_12.8.0/ilog.odms.cplex.help/CPLEX/FileFormats/topics/PRM.html" + Environment.NewLine +
    4142        "# for parameters, see https://www.ibm.com/support/knowledgecenter/SSSA5P_12.8.0/ilog.odms.cplex.help/CPLEX/Parameters/topics/introListTopical.html" + Environment.NewLine +
    42         "# example:" + Environment.NewLine +
    43         "# CPXPARAM_RandomSeed 10" + Environment.NewLine;
     43        "# examples:" + Environment.NewLine +
     44        "# CPXPARAM_RandomSeed 10" + Environment.NewLine +
     45        "# CPXPARAM_LPMethod 4 # Barrier (LP)" + Environment.NewLine +
     46        "# CPXPARAM_MIP_Strategy_SubAlgorithm 4 # Barrier (MIP)" + Environment.NewLine +
     47        "# CPXPARAM_MIP_Strategy_Search 2 # Apply dynamic search (MIP)" + Environment.NewLine;
    4448    }
    4549
     
    5357    }
    5458
    55     protected override OptimizationProblemType OptimizationProblemType =>
     59    protected override Solver.OptimizationProblemType OptimizationProblemType =>
    5660      ProblemType == ProblemType.LinearProgramming
    57         ? OptimizationProblemType.CplexLinearProgramming
    58         : OptimizationProblemType.CplexMixedIntegerProgramming;
     61        ? Solver.OptimizationProblemType.CplexLinearProgramming
     62        : Solver.OptimizationProblemType.CplexMixedIntegerProgramming;
     63
     64    public override IDeepCloneable Clone(Cloner cloner) => new CplexSolver(this, cloner);
    5965  }
    6066}
Note: See TracChangeset for help on using the changeset viewer.