Changeset 6960 for branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Crossovers/PotvinCrossover.cs
- Timestamp:
- 11/08/11 09:47:31 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Potvin/Crossovers/PotvinCrossover.cs
r6837 r6960 136 136 } 137 137 138 if ( !allowInfeasible && !instance.TourFeasible(newTour, solution))138 if (newTour.Stops.Count > 0 && !allowInfeasible && !instance.TourFeasible(newTour, solution)) 139 139 return false; 140 140
Note: See TracChangeset
for help on using the changeset viewer.