Examples
Examples
Try the starting example
- Individual stock lengths (mm)
- 1000,1000
- Requested cut lengths (mm)
- 400,300,200
- Kerf charged per requested piece (mm)
- 5
- End trim at each end of opened stock (mm)
- 10
- Stock pieces opened
- 1
- Finished cut length (mm)
- 900
- Kerf allowance (mm)
- 15
- End trim allowance (mm)
- 20
- Unused opened-stock length (mm)
- 65
- Cut allocation
- Stock 1: 400, 300, 200
- Optimality status
- Feasible heuristic; optimum not proved
Try another scenario
- Individual stock lengths (mm)
- 500,700
- Requested cut lengths (mm)
- 300,300,100
- Kerf charged per requested piece (mm)
- 0
- End trim at each end of opened stock (mm)
- 0
- Stock pieces opened
- 2
- Finished cut length (mm)
- 700
- Kerf allowance (mm)
- 0
- End trim allowance (mm)
- 0
- Unused opened-stock length (mm)
- 500
- Cut allocation
- Stock 1: 300, 100; Stock 2: 300
- Optimality status
- Feasible heuristic; optimum not proved
Calculation method
Calculation method
Stock pieces opened
Count stock pieces opened by the heuristic. Each input stock entry is one available piece.
Finished cut length (mm)
Sum requested lengths.
Kerf allowance (mm)
Number of requested pieces × the supplied kerf.
End trim allowance (mm)
Opened stock count × two end trims.
Unused opened-stock length (mm)
Opened stock length − finished cuts − charged kerfs − end trims.
Cut allocation
Sort cuts longest first; use the opened stock with the smallest sufficient remainder, otherwise the shortest unopened piece that fits. Preserve input stock identifiers.
Optimality status
This is a feasible best-fit-decreasing proposal, not a proof of minimum stock count or global waste.
Symbols and units
- a
- Individual stock lengths (mm)
- b
- Requested cut lengths (mm)
- c
- Kerf charged per requested piece (mm)
- d
- End trim at each end of opened stock (mm)
Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.
Assumptions & limits
Assumptions & limits
- Finite supplied stock inventory, one-dimensional straight cuts, longest-cut-first best fit. Charges one kerf to every requested piece, including an exact-end piece; this conservative convention is explicit. Extra setup cuts and grain matching are excluded. A heuristic failure is not proof that no other packing exists.
Are these inputs private?
These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.
Further reading
OpenStax: arithmetic and geometry ↗
Background reading; this does not imply endorsement or independent review of SumFizz.