Forum Discussion
FICO
3 years agoCommunity Manager
How to improve Xpress solver efficiency and time for VRP projects
Hi all, I have a Vehicle Routing Problem (VRP) which has 7 constraints (including subtour elimination constraint, flow conservation constraint, etc). Xpress tries to apply many heuristic methods bef...
FICO
3 years agoCommunity Manager
@Daniel Junglas Thank you. The code above generates random coordinates (first line) for this problem. So it basically generates the data, and the script above can be used as a complete model (I cannot provide the actual data for privacy reasons, but the model above shows the same behavior seen using real data).
Indeed, the last constraint is the one that makes the model run for a long time (i.e. if I remove it, the model generates result within 1-2 hours). But I need to introduce subtour elimination constraint otherwise the model generates subtour.
I did not try the delayed rows method, but I believe constraint (7) cannot be delayed and the model should utilize it from beginning (the chance that the model generates subtour is high). Please correct me if I am wrong.
Related Content
Related Content
How to improve Bestbound?
e.g. my optimal solution for this dataset is 116. it reaches 116 within 1000 seconds but bestbound is still close to 0. Optimization part: multiplier=ub_nal * (QUARTERS[-1] - 1) + 1# spread of coef...7 months agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum4 unread comments4 unread30Views0likes4Comments- 30Views0likes1Comment
