mapbox/node-or-tools

Allow for drivers / vehicles starting at a specific time

Opened this issue · 0 comments

We should support drivers starting at a specific time (i.e. not all at the begin of the day).


Implementation:

Constrain the min. arrival time at the route's first location:

auto index = model.Start(0);
auto* var = model.CumulVar(index, "Time");
var->SetMin(10am);