PreviousNext
Help > Schema > Rules > AlgorithmType Property
AlgorithmType Property

Applies To

Web API.Rules

Description

Sets or gets an algorithm to be used for building a load. Two types – MaxVolumeFirst and Optimization algorithm are available. Please choose one based on the conditions of the cargoes and container/pallet.

The default setting is Optimization.

Syntax

Property AlgorithmType As Web API.Rules.AlgorithmTypeEnum

Remarks

 

Value

Description

Enumeration

1

The MaxVolumeFirst is recommended if the load should be quickly generated. It will place the load blocks with max volumes in the earlier position of the container or pallet. This algorithm is straight forwarding with the fastest response time. When the efficiency of the load is not satisfactory; the optimization algorithm would be tried again.

MaxVolumeFirst

    16

The Optimization algorithm breaks down to the level 1, 2, 3 and 4, which trades off the time and the quality of the load. The level 1 calculates faster but less utilized than level 4. Of course, all of these 4 levels are slower and better than the Max Volume First. It is generally known that in the optimization theory, as the search space becomes broader, the better results obtained. However, the response time takes longer.

Recently Level 5 was added to handle the big sizes of cargoes such as the pallet loads to be shipped in trucks and containers. It will make the load utilize the truck and container space more effectively than any other levels. Please note Level 5 will not work with a load of small sizes of cargoes. It will not respond in the reasonable time because of the long iteration of the algorithm.

Optimization

Data Type

string as AlgorithmTypeEnum

Example

"rules": {

        "calculationType": "MixLoad",

        "algorithmType": "Optimization",

        "bestFitContainersSelectionType": "BestfitMaxLoadVolFirst",

        "fillDirection": "BottomToTop",

        "IsSpreadIdenticalCargoAllowed": true,

        "isWeightLimited": true,

        "isSafeStackingUsed": true,

        "minSupportRate": 75.0,

        "isUnitloadFirst": false

    }