Preferences
Customizing the package optimization
There are two ways you can customize the behavior of our package optimization: by setting available hyperparameters and by amending product attributes.
Setting hyperparameters
Our supported optimization hyperparameters are listed in the table below. To set or check your parameters, you can refer to Scope or use our API endpoints. We continuously expand these, and if you have any questions, feel free to reach out to dev@skrym.se.
Hyperparameter | Type | Description | Default |
---|---|---|---|
SortingMethod | ENUM | Defines the sorting method for optimization. Available options are BASE_AREA and VOLUME . | VOLUME |
SortingDirection | ENUM | Determines the sorting direction for optimization. Options are ASC and DESC . | DESC |
NumberOfSplits * | NUMERIC | Specifies the number of splits an order can be divided into. It allows for efficient distribution of items across packages. | 10 |
PreserveOrderLines ** | ENUM | Dictates how order lines are preserved. Options: HARD_PRESERVE , SOFT_PRESERVE , and NO_PRESERVE . | NO_PRESERVE |
* NumberOfSplits
: This hyperparameter requires special permission; otherwise, Skrym will not conduct splitting.
You can read more about order splitting here
** PreserveOrderLines
: We define an order line as a unique product with a certain quantity.
The HARD_PRESERVE
mode will aim to keep each order line within the same package and return an error if that is not possible.
The SOFT_PRESERVE
mode will do the same, but will try to split the order lines if they cannot be hard-preserved, instead of failing.
The NO_PRESERVE
mode will treat each item individually, regardless of the order lines.
Changing product traits
By default, Skrym treats products as solid, rigid cuboids. For certain product catalogs or use cases, however, this does not always suffice.
So far, we have rolled out support for the following product traits:
Trait | Description |
---|---|
Fragility | Products that need extra padding (to avoid breakage) can be given a fragility score which is proportional to the amount of padding applied. |
Compressibility | Certain products, such as textiles, can be compressed while packed. Compressibility is a score given to a product to determine how much it can be compressed. |
Empty Space | Some products may contain spaces or holes within them (think about a mug or a doughnut). Skrym will try to utilize those empty spaces for packing. |
To learn more about these traits and how to handle them, please see the product section.