Overview
This article will provide some insight into the Optimizer Settings which controls how long Cube-IQ will spend calculating optimal load plans per container and how efficiently it estimates container usage. You can adjust runtime and iteration limits to balance speed and solution quality.
Symptoms
- BlackBox/CubeIQ may return slightly different optimization results when re-running the same load, even with identical input.
Possible Causes
This behavior is expected and results from how the optimizer manages timing and iteration limits during processing:
The "Maximum run time" setting defines the strict time limit the optimizer uses when working on each container. Once this time limit is reached, the optimizer stops and uses the best solution it has found so far.
The "Maximum number of non-improving iterations" determines how many additional optimization attempts can be made without finding a better result, as long as the time limit hasn’t been reached.
Since each optimization cycle is completed very quickly (in milliseconds), the total number of iterations the optimizer can perform before reaching the maximum run time limit may vary slightly between runs. For example:
In one run, the optimizer may reach iteration 48 before the time limit (5 seconds).
In another run, it may reach only iteration 47 in the same time frame (5 seconds).
Even though the optimization method and logic remain consistent, these small differences in processing time can cause the optimizer to stop at slightly different points, which may result in minor variations in the final output.
Recommended Settings
For consistent, high-quality results, at least use 10 seconds with 50 non-improving iterations.
For faster results with small variations in output, use 5 seconds with 20–30 non-improving iterations.
Procedure
-
Open Optimizer Settings:
- Click on the Settings tab from the top menu or press F7.
- Navigate to the Optimizer Settings tab if it is not already selected.
-
Configure Optimization Time Per Container:
-
Maximum run time:
- Set the number of seconds allowed for loading a single container.
- Recommended: 15 seconds per container for a modern PC.
- Note: Loading 4 containers with 15 seconds each will allow up to 1 minute total.
-
Maximum number of non-improving iterations:
- Set the number of iterations the optimizer will continue running without finding a better solution.
- Recommended: 500–1000 for small cases.
- Use 50 iterations for faster but less detailed optimization.
-
Configure Container Estimate Settings:
- Utilization percentage for estimates:
- Cube-IQ uses this value to estimate how many. containers are needed during Load Setup.
- You can also set the percentage for each container by:
- Right-clicking on the Container Type grid.
- Select fill limits.
- This defines the target utilization used in estimation calculations.
- Utilization percentage for estimates:
-
Maximum run time:
Assistance
If any further assistance is needed, please contact our Support team.
Related Articles