PreviousNext
Help > Schema > Rules > BestFitContainersSelectionType Property
BestFitContainersSelectionType Property

Applies To

Web API.Rules

Description

Sets or gets how the selection of the multiple containers is made by the calculation.

Syntax

Property BestFitContainersSelectionType As BestfitContainersSelectionEnum

Remarks

The following values are available for this property.

Value

Description

Enumeration

1

When BestFitContainersSelectionType is set to BestfitDisabled, the calculation tries to fill the empty containers as many as possible while keeping the number of filled containers fewer than or the same with the maximum number allowed on each empty container.

If there are cargoes left after filling all available empty containers, CubeMaster picks next empty containers and do the same jobs until all the cargoes are placed or no more empty containers are available.

The order of picking the different empty containers is decided by the priority of each empty container. The empty containers of the less values of the priority are filled earlier.

So, the members EmptyContainer.Qty and EmptyContainer.Priority are utilized when BestFitContainersSelectionType is BestfitDisabled.

BestfitDisabled

2

When BestFitContainersSelectionType is set to BestfitMaxEmptySizeFirst, the calculation fills the largest empty containers first and compares the filled containers with the next largest ones. If they are big enough to replace, the loads of the old containers are moved to the new empty containers. The same steps are done over the rest of the empty containers until all the filled containers are no longer replaced with any empty containers.

The members EmptyContainer.Qty and EmptyContainer.Priority are ignored when BestFitContainersSelectionType is BestfitMaxEmptySizeFirst.

BestfitMaxEmptySizeFirst

    3

When BestFitContainersSelectionType is set to BestfitMaxVolUtilFirst, the calculation fills every single empty container as full as possible. A filled container with the highest volume utilization is picked and determined as a solution. The volume utilization comes from dividing the total volume of the load in the empty container by the volume of the empty container.

 

The same job is done over the remaining number of cargoes and stops when there are no more cargoes are left.

The members EmptyContainer.Qty and EmptyContainer.Priority are ignored when BestFitContainersSelectionType is BestfitMaxVolUtilFirst.

BestfitMaxVolUtilFirst

4

When BestFitContainersSelectionType is set to BestfitMaxLoadVolFirst, the calculation fills every single empty container as full as possible. A filled container with the highest load volume is picked and determined as a solution.

The same job is done over the remaining number of cargoes and stops when there are no more cargoes are left.

The members EmptyContainer.Qty and EmptyContainer.Priority are ignored when BestFitContainersSelectionType is BestfitMaxLoadVolFirst.

BestfitMaxLoadVolFirst

5

When BestFitContainersSelectionType is set to BestfitMaxWeightUtilFirst, the calculation fills every single empty container as full as possible. A filled container with the highest weight utilization is picked and determined as a solution. The weight utilization comes from dividing the total weight of the load in the empty container by the Max Weight of the empty container.

The same job is done over the remaining number of cargoes and stops when there are no more cargoes are left.

The members EmptyContainer.Qty and EmptyContainer.Priority are ignored when BestFitContainersSelectionType is BestfitMaxWeightUtilFirst.

BestfitMaxWeightUtilFirst

Data Type

string as BestfitContainersSelectionEnum

CubeMaster Screen

A screenshot of a computer

Description automatically generated