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
Thank you @Daniel Junglas . You are correct, N_total has to be moved to the top of the code.
In the example in OP, I put an arbitrary number for N_total (40). However, in the real model, N_total is 180 (we have 180 pick up points). If we replace 40 with 180 in N_total, the model will take a long time to find a solution. I replaced 40 with 180, and attached the output after running for more than 1 hour (and still running), and there is still no solution.
I will try to delay the subtour elimination constraint as you mentioned. I went through the documentation link you provided (problem.loaddelayedrows) to learn how to implement it. However, I am not sure how to select the specific rows that are related to the subtour elimination constraint. Can you please let me know how to see the full matrix of the problem, or how to pinpoint specific rows related to specific constraint?
Thanks
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
