Ignore:
Timestamp:
01/05/18 00:22:04 (2 years ago)
Author:
abeham
Message:

#1614:

  • Added two LocalSolver models (binary and integer)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/CPLEX/CplexSolver.cs

    r15574 r15575  
    5959    }
    6060
    61     protected override void Initialize(CancellationToken cancellationToken) {
    62       base.Initialize(cancellationToken);
    63 
    64       try {
    65         Context.RunOperator(Analyzer, cancellationToken);
    66       } catch (OperationCanceledException) { }
    67     }
    68 
    6961    protected override void Run(CancellationToken cancellationToken) {
    7062      var factory = new OplFactory();
     
    10092      if (HasIncumbent()) {
    10193        var val = GetIncumbentObjValue();
    102         if (val == prev) return;
     94        if (val >= prev) return;
    10395        algorithm.Context.Iterations++;
    10496        algorithm.Context.BestQuality = val;
Note: See TracChangeset for help on using the changeset viewer.