guilhermefgs / SwarmPickupDeliveryProblem

0 stars 0 forks source link

Heavy objects #39

Closed guilhermefgs closed 1 year ago

guilhermefgs commented 1 year ago

close #32

guilhermefgs commented 1 year ago

image Illegal move

How can vehicle 1 goes to request 4 and leave the request before it was fully supplied?

guilhermefgs commented 1 year ago

image My first idea is something regarding the Heaviness of each request being ordered, or something like

guilhermefgs commented 1 year ago

Any request can be immediately attended to when its capacity is 1 but not from a vehicle that is already allocated for the current coupling task because otherwise, the vehicle would have to return to the request that it left

I need to check the current vehicles allocated for a current request

guilhermefgs commented 1 year ago

I think I solved the problem with the ordered solution, but something seems wrong with the fitnessfunction calculation

The print was calculating a different cost