From 0721274137c0ccb5c60664de94c48221e6cc3d74 Mon Sep 17 00:00:00 2001 From: oblonski <4sschroeder@gmail.com> Date: Wed, 23 Jul 2014 23:15:23 +0200 Subject: [PATCH] misc --- .../constraint/VehicleDependentTimeWindowConstraints.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jsprit-core/src/main/java/jsprit/core/problem/constraint/VehicleDependentTimeWindowConstraints.java b/jsprit-core/src/main/java/jsprit/core/problem/constraint/VehicleDependentTimeWindowConstraints.java index 907dc1ce..85a4238d 100644 --- a/jsprit-core/src/main/java/jsprit/core/problem/constraint/VehicleDependentTimeWindowConstraints.java +++ b/jsprit-core/src/main/java/jsprit/core/problem/constraint/VehicleDependentTimeWindowConstraints.java @@ -61,8 +61,8 @@ public class VehicleDependentTimeWindowConstraints implements HardActivityStateL else{ //try to get latest_operation_start_time of newVehicle latestArrTimeAtNextAct = states.getActivityState(nextAct, iFacts.getNewVehicle(), StateFactory.LATEST_OPERATION_START_TIME ,Double.class); - if(latestArrTimeAtNextAct == null) //try to get latest_operation_start_time of currVehicle - latestArrTimeAtNextAct = states.getActivityState(nextAct, iFacts.getRoute().getVehicle(), StateFactory.LATEST_OPERATION_START_TIME ,Double.class); +// if(latestArrTimeAtNextAct == null) //try to get latest_operation_start_time of currVehicle +// latestArrTimeAtNextAct = states.getActivityState(nextAct, iFacts.getRoute().getVehicle(), StateFactory.LATEST_OPERATION_START_TIME ,Double.class); if(latestArrTimeAtNextAct == null) //otherwise set it to theoretical_latest_operation_startTime latestArrTimeAtNextAct=nextAct.getTheoreticalLatestOperationStartTime(); nextActLocation = nextAct.getLocationId();