Interactive explainer
Linear optimisation – interactive calculator
How should limited labour and material be shared between two products? A small production model shows how constraints shape feasible plans and why whole units can change the answer.
Use this calculator to compare continuous and integer solutions to a production planning problem. Two products compete for labour and material. Unit contributions stay fixed at €40 for A and €30 for B. All calculations run locally in your browser; no upload or account is required.
Linear optimisation – interactive calculator
With 41 labour units and 50 material units, the best integer plan is eleven A and nineteen B, contributing €1,010.
Three experiments
- Compare divisible quantities. Keep labour at 41 and material at 50. Turn whole units off and on. Compare the fractional plan with eleven A and nineteen B. The table shows why rounding both quantities down would miss the best integer choice.
- Move the bottleneck. Increase labour alone first. Watch when additional material appears more valuable. Then change material and compare which boundary of the polygon moves. Look at the product mix as well as the total contribution.
- Close the gap. Set labour to 40 and material to 50. The continuous plan now already uses whole units. Use Reset to return to the starting values and inspect the difference again.
What the result means
The polygon contains all feasible divisible plans, while the grid contains feasible integer plans. The calculator checks every vertex and every whole-unit combination within this small range. Production quantities cannot be negative. Demand limits, setup costs and extra shifts are deliberately absent, so a higher model value is not yet an approved operational plan. The linear optimisation article explains the worked example and its limitations in more detail.