yorak / VeRyPy

A python library with implementations of 15 classical heuristics for the capacitated vehicle routing problem.
MIT License
272 stars 55 forks source link

Add charging constant #19

Open Amitdutta121 opened 9 months ago

Amitdutta121 commented 9 months ago

I am not able to add a charging constant for the ECVRP problem. Is there any way to add a charging stations and charging constant for the ECVRP problem

yorak commented 4 months ago

There is no easy way to add such a new extension to all heuristics. Adding one for one powerful heuristic such as lr3opt would be possible and not an horrendous task.

yorak commented 4 months ago

ChatGPT4 or similar level model might be able to write the modifications for you. At least it claims to (I have not verified if it actually did it right).

https://chatgpt.com/share/d89633cd-5d11-431b-a3e7-5acd2971d81c

Hope this helps.