I'm facing an issue when I have a node with late time window.
In more detail:
I have 10 nodes with TWs [ 0,horizon ] and one node with TW start at 2pm until horizon.
When I ask for routing without that node the whole route ends at 12pm.
When I introduce that node, the route is full of circles, trying to delay so the time will be 2pm in order to fulfil that node.
I have slack enabled but it never use this slack, routing prefers to make messy routes.
Time windows are modeled on solver through time dimension's CumulVal limits
link Setting CumulVar's Min [ ->SetMin() ] and Max [ ->SetMax() ].
Also, for the slack we set its Node's SlackVar [ ->SetMax() ] equal to Horizon.
Finally, on time dimension we set slack_max = horizon and force_start_cumul_to_zero = false
The thing I want to achieve is to make the solver to offer a optimized route with that node at the end of the sequence (and use slack at that point).
Do you have any suggestions?