Cargo-Planner Docs

Cost function

A cost function can be used to optimize for specific goals in addition to loading utilization. The calculated function is added as an additional cost per loaded container. A low cost should reflect a good solution, and a high cost reflects a bad solution. That calculated cost gets added to the fixed container cost. Cargo-Planner will try to find a solution where the cost is minimal when calculating a load plan.

It is the fifth tab of the Load settings dialog, reachable from the Setup view.

Cost functions are an advanced feature for experienced users. Get in contact with us if you need assistance in setting one up: [email protected]

If you want to influence the result without writing a cost function, these are usually enough:

  • Secondary goal on the primary settings — minimize length or height, or improve stability.
  • Fixed container cost, set per container type when selecting equipment, which the cost function adds to.
  • Custom rules, for business logic that is about what may be loaded rather than what it costs.