vroom icon indicating copy to clipboard operation
vroom copied to clipboard

api not optimizing for weight and volume and is always assigning the largest vehicle

Open ptpmashish opened this issue 1 year ago • 1 comments

when I have 2 vehicles with 100 kg and 1000 kg weight capacities and if I have 2 parcels totalling to 20kg, the larger vehicle of 1000kg is getting assigned.

but it should have assigned the smaller vehicle of 100KG

similar situation if there is volume capacity.

ptpmashish avatar Jun 30 '24 07:06 ptpmashish

TL;DR you want to use vehicle costs to control assignment choice.

For more context see https://github.com/VROOM-Project/pyvroom/issues/107#issuecomment-2152541942.

jcoupey avatar Jun 30 '24 09:06 jcoupey

Closing as answered based on https://github.com/VROOM-Project/pyvroom/issues/107#issuecomment-2206018407.

jcoupey avatar Jul 03 '24 13:07 jcoupey