compartments and total quantity

This forum deals with any kind of trip optimization whether it is automatic planning or manual dispatching, refering to transport orders or service planning.

compartments and total quantity

Postby puissancei » Wed Jun 13, 2018 1:47 pm

Hello,

I use 3 compartments for vehicles with quantities = 21, 21, 21
I want the total quantity of the vehicle not exceed 32.

How can I do this?
puissancei
 
Posts: 46
Joined: Wed Jul 05, 2017 10:27 am

Re: compartments and total quantity

Postby Bernd Welter » Wed Jun 13, 2018 1:50 pm

Helllo Michel,

how about specifying the quantities of the vehicle as int[]={32,21,21,21} and an order specifies {absolute count,#p1,#p2,#p3}?

Best regards,
Bernd
Bernd Welter
Manager Technical Consulting & Requirement Engineering
Senior Technical Consultant Developer Components
PTV GROUP - Germany

Bernd at Youtube
User avatar
Bernd Welter
Site Admin
 
Posts: 1138
Joined: Mon Apr 14, 2014 10:28 am

Re: compartments and total quantity

Postby puissancei » Wed Jun 13, 2018 2:31 pm

it works fine.

Thank you
puissancei
 
Posts: 46
Joined: Wed Jul 05, 2017 10:27 am


Return to PTV xTourServer