mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
min added
This commit is contained in:
parent
b47547afdb
commit
f129829f93
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ public class VehicleDependentTimeWindowConstraints implements HardActivityConstr
|
||||||
|
|
||||||
double latestArrTimeAtNewAct =
|
double latestArrTimeAtNewAct =
|
||||||
Math.min(newAct.getTheoreticalLatestOperationStartTime(),
|
Math.min(newAct.getTheoreticalLatestOperationStartTime(),
|
||||||
latestArrTimeAtNextAct + savingsInNextActivityDuration -
|
Math.min(nextAct.getTheoreticalLatestOperationStartTime(), latestArrTimeAtNextAct + savingsInNextActivityDuration) -
|
||||||
routingFromNewToNext
|
routingFromNewToNext
|
||||||
- activityCosts.getActivityDuration(prevAct, newAct, arrTimeAtNewAct, iFacts.getNewDriver(), iFacts.getNewVehicle())
|
- activityCosts.getActivityDuration(prevAct, newAct, arrTimeAtNewAct, iFacts.getNewDriver(), iFacts.getNewVehicle())
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue