Examples
Examples
Try the starting example
- Indivisible items: ID, volume L, allowed compartment IDs joined by |, supplied priority points
- Rain,2,Top|Main,5 Snack,3,Top,5 Bag,12,Main|Bottom,1 Clothes,8,Main|Bottom,2
- Compartments: ID, supplied usable capacity L
- Top,5 Main,15 Bottom,10
- Volume-model compartment assignment by item
- Rain: Top; Snack: Top; Bag: Main; Clothes: Bottom
- Packed item count
- 4
- Unassigned item IDs
- None
- Assigned volume (L)
- 25
- Unused compartment volume (L)
- 5
Try another scenario
- Indivisible items: ID, volume L, allowed compartment IDs joined by |, supplied priority points
- Rain,2,Top|Main,5 Snack,3,Top,5 Bag,12,Main|Bottom,1 Clothes,8,Main|Bottom,2
- Compartments: ID, supplied usable capacity L
- Top,5 Main,10 Bottom,10
- Volume-model compartment assignment by item
- Rain: Top; Snack: Top; Bag: Unassigned; Clothes: Main
- Packed item count
- 3
- Unassigned item IDs
- Bag
- Assigned volume (L)
- 13
- Unused compartment volume (L)
- 12
Calculation method
Calculation method
Volume-model compartment assignment by item
Exact bounded search maximizes packed item count, then total supplied priority points, then packed volume. Ties retain first explored assignment.
Packed item count
Count allocated indivisible items.
Unassigned item IDs
Items left out of the best supported volume-only assignment.
Assigned volume (L)
Sum allocated item volumes using exact six-decimal integer units.
Unused compartment volume (L)
Sum supplied compartment capacities−assigned volume, even if remaining spaces cannot hold a particular unassigned item.
Symbols and units
- a
- Indivisible items: ID, volume L, allowed compartment IDs joined by |, supplied priority points
- b
- Compartments: ID, supplied usable capacity L
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
- A bounded exact volume/allocation model, not a three-dimensional packing or access guarantee. Allowed zones and priority points are supplied; shapes, compression, waterproofing and load suitability are outside scope. Search-state exhaustion returns an error rather than a false optimum.
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: ratios and rates; all itinerary rates, limits and scenario rules are supplied inputs ↗
Background reading; this does not imply endorsement or independent review of SumFizz.