You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You're on the right line for split delivery; on line 80, make sure you comment out only the demands.lt() portion and not the whole line, otherwise the mask just won't work
I'd take a look at the hyperparameters a little more first. If you consider split delivery in the context of purely learning to route, it feels like a bit of a specialized behaviour in the sense that the salesman is now given the choice of ignoring the city unless it can meet demand, or taking a detour to fulfill part of it. Try either increasing the batch size and increasing LR, or decreasing batch size and decreasing LR. I've had some luck with e.g.:
My case is a VRP problem. I only comment out *demands.lt() part. I only increased the batch_size before, however it gave me worse results. I will try your method.
Hi,
In the paper, the author mentioned if the whole delivery constraint is relaxed the result will get better.
However if I omit the constraint( demands.lt(load) the result is always worse. even if I try to retrain the model.
In the paper even for the greedy, split delivery is better than whole delivery.
Do you know what may cause the difference here?
Thank you very much for your help!
The text was updated successfully, but these errors were encountered: