Modelling-and-Analysis-of-a-Vehicle-Routing-Problem-with-Time-Windows-in-Freight-Delivery icon indicating copy to clipboard operation
Modelling-and-Analysis-of-a-Vehicle-Routing-Problem-with-Time-Windows-in-Freight-Delivery copied to clipboard

Why this imp is accumulated instead of assigned?

Open afboteros opened this issue 1 year ago • 0 comments

https://github.com/dungtran209/Modelling-and-Analysis-of-a-Vehicle-Routing-Problem-with-Time-Windows-in-Freight-Delivery/blob/59b66df215ad9a57f5d66c431836ee5d03aa212c/code/3.%20Test_GVNS_S1.py#L163

Hi Dung, would like to know if possible, why in the or_opt_search and two_opt_search, the best_imp is accumulated on every iteration instead of assigned (so replaced).

Thanks in advance.

afboteros avatar Jun 20 '23 20:06 afboteros