Skip to content

Packvium 1.6.0

Choose a tag to compare

@github-actions github-actions released this 11 Oct 16:41
· 5 commits to main since this release
d74b606

Boxes cut to measure, flat bags, stacking groups and a volume-first objective, all additive. A
request that uses none of them keeps its meaning; fast and balanced may now answer better.

Added

  • Packvium\Config\EffortBudget, a public name for the effort budget, and
    OperationalArtifact::replayLevel($result).
  • Packvium\Domain\MadeToMeasure and Container's $madeToMeasure. A container becomes an
    on-demand box machine (largest box, minimum, cut step, board price and weight per m²); each
    packed box is the load's extent rounded up onto the machine grid and priced as cut.
    PackedContainer::achievedDimensions() reports the extent.
  • Flat bags: Container's $deformableBoundary = 'flat_bag' and Packvium\Domain\FlatBag.
    A poly mailer admits a load when length plus thickness and width plus thickness fit;
    dimensional weight is billed from the load's size.
  • Stacking groups: Item's $stackingGroup and $acceptsStackingGroups. Which item
    classes
    may rest directly on which.
  • The maximum_volume objective and Packvium\Objective\MaximumVolumeSolutionScorer.
  • A warning for items resting on nothing when minimumSupportRatio is 0
    (unsupported_placements: N ... in the result's warnings). No answer changes.

Changed

  • An unpacked item names the limit that left it out, the same in every engine.
    Where the search used to fall back to no_feasible_placement or search_exhausted, an item a
    fresh container would take but none is left reports container_inventory_exhausted, and one
    that overloads an axle wherever it stands alone reports axle_overloaded; both are
    inferred. Code that matched the old reason for these cases must match the new one.
  • quality orders its beam by a convex_hull item's own solid, not its box, so
    it no longer assumes a second wedge cannot fit when it can.
  • The container plan counts a convex_hull item by its own solid too, so
    quality no longer ranks a plan as if wedges that share a container each needed their own.
  • fast and balanced add the block solver as one more start on multi-type loads and keep
    its answer only when strictly better.
  • The exact solver ranks volume first under maximum_volume.