Changeset 17713 for branches/2521_ProblemRefactoring
- Timestamp:
- 08/04/20 07:14:55 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Creators/IterativeInsertionCreator.cs
r17698 r17713 117 117 CVRPEvaluation evaluation = instance.EvaluateTour(currentTour, result) as CVRPEvaluation; 118 118 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))) { 120 120 currentTour.Stops.Remove(customers[index]); 121 121 if (pdp != null)
Note: See TracChangeset
for help on using the changeset viewer.