Closed PleaseWorld closed 9 years ago
@1 search for initial vehicle routes. jsprit allows you to specify initial loads
@2 soft time windows cannot be easily implemented yet. For such a job, you might widen the hard time window, or you omit it entirely and penalyze late arrivals by implementing a SoftActivityConstraint. Actually, I do not know whether this gives you reasonable results since if you deal with soft time windows you somehow need to evaluate arrival time shifts in the whole route rather than just in the neighborhood of your insertion. In research this is often estimated with a penalty function which is dependent on the local time shift. You need to try yourself.
@1 It seems to work, thanks! @2 I tried to use the logic in VehicleDependentTimeWindowConstraints to calculate the cost and it seems to work. Do you mean theoretically it may not be possible to achieve correct result in the current design? What do you mean the local time shift? Could you give more explanation?