Capacity Vehicle Routing Problem

I have question. How make changes or build algorythm or use exist feature of jsprit to creat jobs service with two or more diffrent pallets size ( i mean dimension like kg, first palett type,second pallet type) to vehicle who have some dimension like kg and first palett type,second pallet type and of course to make vehilce routing problem with matrix cost. Now i just make preset with 40 configuration with two type pallets to singel loop but is not efective. How to make more efective in core of algorythm or smothing else with jsprit.

Can you give us a simple real world example?