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.
Post Reply
puissancei
Posts: 46
Joined: Wed Jul 05, 2017 10:27 am

compartments and total quantity

Post by puissancei »

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?
User avatar
Bernd Welter
Site Admin
Posts: 2564
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: compartments and total quantity

Post by Bernd Welter »

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
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
puissancei
Posts: 46
Joined: Wed Jul 05, 2017 10:27 am

Re: compartments and total quantity

Post by puissancei »

it works fine.

Thank you
Post Reply