Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/04/20 07:14:55 (4 years ago)
Author:
abeham
Message:

#2521: fixed bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Creators/IterativeInsertionCreator.cs

    r17698 r17713  
    117117        CVRPEvaluation evaluation = instance.EvaluateTour(currentTour, result) as CVRPEvaluation;
    118118        if (result.Tours.Count < instance.Vehicles.Value &&
    119           ((adhereTimeWindows && !instance.Feasible(evaluation)) || ((!adhereTimeWindows) && evaluation.Overload > double.Epsilon))) {
     119          ((adhereTimeWindows && !evaluation.IsFeasible) || ((!adhereTimeWindows) && evaluation.Overload > double.Epsilon))) {
    120120          currentTour.Stops.Remove(customers[index]);
    121121          if (pdp != null)
Note: See TracChangeset for help on using the changeset viewer.