node-or-tools icon indicating copy to clipboard operation
node-or-tools copied to clipboard

Allow for drivers / vehicles starting at a specific time

Open daniel-j-h opened this issue 9 years ago • 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);

daniel-j-h avatar Apr 18 '17 23:04 daniel-j-h