Changeset 6854 for branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/ExtendedPotvin/Creators/PushForwardInsertionCreator.cs
- Timestamp:
- 09/30/11 11:36:05 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/ExtendedPotvin/Creators/PushForwardInsertionCreator.cs
r6851 r6854 182 182 double dueTime = 0; 183 183 if (problemInstance is ITimeWindowedProblemInstance) 184 dueTime = (problemInstance as ITimeWindowedProblemInstance).DueTime[i ];184 dueTime = (problemInstance as ITimeWindowedProblemInstance).DueTime[i + depots - 1]; 185 185 186 186 cost = -alpha * distance + // distance 0 <-> City[i]
Note: See TracChangeset
for help on using the changeset viewer.