Page 1 of 1

What is the reason why the load dimensions values are int32

Posted: Tue Feb 13, 2024 2:32 pm
by CAPcargo
Hi,

Wouldn't it make more sense for the real world to use double instead?

optiFlow_Doc_Order_Qty.jpg

Re: What is the reason why the load dimensions values are int32

Posted: Tue Feb 13, 2024 4:19 pm
by TomDeDecker
Hi,

While admittedly that would make more sense, the current implementation does indeed require you to specify whole numbers.

The underlying reasons are purely technical (performance, dealing with rounding errors...) - and based on what I could gather from the team, surprisingly difficult/annoying to change.
Depending on what units the base data are in, our current recommendation is to scale up the values if needed, to arrive at integers for the various loads. Naturally, this means the same needs to happen with the corresponding vehicle capacities, in order for the plan to work.

I've challenged this matter with the team, and we will discuss this further internally.
But for now, we will need to keep things wholesome.

Kind regards,

Tom