Skip to content
Astera Technology

Specify two limits for a mixed-carton pallet plan

Record each carton’s supplied weight and compare the plan with both internal limits.

Store carton count and weight together

Synthetic internal pallet plan permits at most eight cartons and sixteen kilograms. Carton A is two kilograms and B three. A proposal of four A and three B has seven cartons but seventeen kilograms. These are invented planning inputs, not a vehicle or pallet safety certification.

Synthetic mixed-pallet requirement sheet
ConstraintRequired recordExample decision rule
Carton compositionA count and B count4 + 3 = 7 cartons
Weight evidenceA2 kg; B3 kg per carton4 × 2 + 3 × 3 = 17 kg
Joint limitsCartons ≤8 and kilograms ≤16Both conditions required
Download editable CSV ↓

Test a plan that passes only one limit

Filled synthetic acceptance cases
CaseInputExpected decision
A4/B37 cartons / 17 kgFails weight limit
A4/B26 cartons / 14 kgMeets both internal limits
Download editable CSV ↓
  1. Read counts by carton type
  2. Use supplied weights
  3. Calculate both totals
  4. Accept only within both limits

Unknown carton weight leaves this plan unverified even if the carton count fits.

Replace one B in A4/B3 with one A. Does the resulting A5/B2 fit?

Show the worked answer

Yes within this example: seven cartons and 5 × 2 + 2 × 3 = sixteen kilograms, exactly at the inclusive weight limit.

Retain both quantities in the export rather than a single “fits” flag, so later limit changes can be reviewed.

Related resources