how to consider user modification in result and consider them in VRP

93 views Asked by At

I am working on one VRP(Vehicle routing problem) to make plan of pickup and drop service, As VRP is NP hard problem user edits plan according to their requirement.Now I am planning to consider their modification while preparing plan. where should I start for same?

1

There are 1 answers

0
daphshez On

The easiest way to incorporate expert knowledge into a VRP optimiser would probably be using constraints. Have a look at JSprit documentation of constraint as a starting point, if you are using JSprit. If the available type of constraints are not enough to model the knowledge your expert has, you may need to dig deeper and play with cost function and search strategy.

Inferring the constraints automatically from the improvements the expert made to a previous route is going to be difficult. There may be many reasons for any change in a route - it's difficult to tell why the expert made a change if they don't tell you explicitly. If possible, ask the expert to define the constraints explicitly. For example, instead of just changing a route so a job from address X and a job from address Y are served by vehicle 1, the expert will tell your system "Address X and address Y always have to be served by the same vehicle".

By the way, since this is a rather general algorithmic question, you might try to post it on the Compute Science Stack Exchange.