| Algorithm 3. Tour improvement. | ||||
| Input: , initial charging tour , traveling distance constraint ; | ||||
| Output: An improved charging tour | ||||
| 1: | repeat | |||
| 2: | ||||
| 3: | for each vertex and do | |||
| 4: | ||||
| 5: | if then | |||
| 6: | ||||
| 7: | ||||
| 8: | else | |||
| 9: | continue | |||
| 10: | end if | |||
| 11: | end for | |||
| 12: | ||||
| 13: | insert into at the location with minimum insertion cost | |||
| 14: | until no more feasible vertices in | |||
| 15: | return | |||