How Can We Find the Best Feasible Plan When Several Limits Apply at Once? Define the choices, resource limits and objective, then find a plan that satisfies every constraint and prove that no allowed plan scores better. A high score from an impossible plan is not a solution. A feasible plan is not necessarily optimal. Linear programming gives learners a precise way to separate those claims.
This international mathematics lab uses original fictional display-production exercises with divisible quantities and exact data. It extends Constraint Consistency, Local and Global Optimisation and Interval Bounds by combining a feasible plan with a matching upper-bound proof. The coursework, Vocabulary Coding and Engineering and EnDist are proposed frameworks rather than validated interventions. Future superintelligence remains hypothetical; the calculations do not measure learning or social benefit.
- Define decision variables, resource constraints and a linear objective.
- Construct a feasible region and calculate its actual corner points.
- Compare candidate plans without overlooking a violated condition.
- Prove optimality using a feasible plan and a matching bound.
- Recheck changed capacities, objectives and integer restrictions.
- Independently solve a new planning case and explain the model's limits.
Choose your reading route
Coursework series: Constraint Consistency Lab · Local-to-Global Optimisation Lab · Interval Bounds Lab · Linear Systems and Identifiability Lab · Vocabulary Coding and Engineering
Continue this coursework series: Linear Programming Lab (this article) · Idempotency and Retry Lab · Censoring and Unobserved Demand Lab · Requirements and Exceptions Studio
Full chapter index
Chapters 1–5
Chapters 6–10
Chapters 11–15
Chapters 16–20
Chapters 21–25
CHAPTER 1 OF 26 · Understand the capability
1. The capability: distinguish feasible from best
A planning exercise can produce several attractive answers. One uses more resources than are available. Another fits comfortably but leaves a better combination unexplored. A third is feasible and comes with an argument that every other feasible combination scores no higher. Coursework should help learners recognise these different levels of evidence instead of treating a confident recommendation as the end of the task.
The finished work should state the model, identify a feasible choice, calculate its objective value and justify optimality. It should also explain what the chosen score means. AI can propose candidates or algebraic steps, but the learner must be able to check the constraints and defend the conclusion. A recipient needs the conditions alongside the answer to decide whether the plan applies locally.
CHAPTER 2 OF 26 · Understand the capability
2. Define a linear programme and its parts
A decision variable represents a quantity we may choose. A parameter is supplied data, such as available machine-hours. Constraints restrict the choices, while an objective gives the quantity to maximise or minimise. In linear programming the objective and constraint expressions use fixed coefficients multiplying variables, with addition and subtraction. Products of decision variables, such as xy, are outside this basic model.
The OR-Tools introduction to linear optimisation describes planning through linear relationships. Our initial variables may take nonnegative real values, including fractions. Later we impose integer restrictions as a different problem. State the domain explicitly: a fractional amount of display area can be meaningful even though a fractional indivisible object would require a different interpretation.
CHAPTER 3 OF 26 · Understand the capability
3. Vocabulary Coding and Engineering for planning claims
Use Vocabulary Coding and Engineering to define at most, at least, exactly, feasible and optimal. At most eight allows unused capacity; exactly eight does not. Feasible means satisfying every stated constraint. Optimal means achieving the best objective value among feasible choices. A plan can be optimal under one objective and less desirable under another, so the objective belongs in the conclusion.
Preserve units as part of the vocabulary. Machine-hours and staff-hours are different resources, and a design credit is a stipulated scoring unit rather than evidence of learning. VCE is a proposed approach to making meanings inspectable through a task and its handover. It cannot determine which real-world priorities are appropriate or establish that the supplied numerical relationships are accurate.
CHAPTER 4 OF 26 · Work through the example
4. The original fictional display-production case
The Harbour Learning Exhibition can prepare two formats of display material. Let x be square metres of format X and y square metres of format Y. Any nonnegative fractional area is allowed. Resource use and design credits scale exactly with area as the table states. There are eight printing machine-hours and eight finishing staff-hours available. All values are invented for this mathematical exercise.
Maximise the total design-credit score. There are no setup costs, minimum production amounts, demand limits or other resource requirements in the toy model. This is a resource-budget calculation, not a schedule specifying when printing and finishing occur. Neither format is required to appear unless a later condition says so. Before calculating, explain which facts are assumptions rather than conclusions about an actual exhibition.
| Quantity per square metre | Format X | Format Y |
|---|---|---|
| Printing machine-hours | 2 | 1 |
| Finishing staff-hours | 1 | 2 |
| Design credits | 3 | 2 |
CHAPTER 5 OF 26 · Work through the example
5. Translate every limit before choosing a plan
Printing use is 2x + y, so its constraint is 2x + y ≤ 8. Finishing use is x + 2y, giving x + 2y ≤ 8. Nonnegativity requires x ≥ 0 and y ≥ 0. The objective is z = 3x + 2y. These four inequalities define the allowed choices; the objective ranks them. The inequality directions follow from the phrase at most.
Do not add the two eight-hour budgets and replace both constraints with a single sixteen-hour total. That would allow the wrong mix of printing and finishing. For example, x = 5 and y = 0 uses fifteen hours in total but requires ten printing machine-hours, exceeding that resource’s eight. A combined total can retain arithmetic while losing a condition essential to feasibility.
CHAPTER 6 OF 26 · Work through the example
6. Check a candidate against all constraints
At (x, y) = (3, 2), printing use is 2(3) + 2 = 8 and finishing use is 3 + 2(2) = 7. Both are allowed, and the score is 3(3) + 2(2) = 13. At (3, 3), the apparent score is 15, but both resource uses equal nine. The higher number is attached to an infeasible choice and cannot win this problem.
Keep the candidate, each resource use, each remaining capacity and the score in one calculation record. If an assistant reports only the score, ask for the missing checks. Conversely, passing all constraints does not prove optimality: (3, 2) is feasible, but the divisible model admits a better solution. Feasibility answers whether a choice is allowed, not whether the search is complete.
CHAPTER 7 OF 26 · Work through the example
7. Construct the feasible region and its corners
Draw the nonnegative quadrant and retain the side of each resource line containing the origin. The common region is a bounded polygon. On the x-axis, printing gives x ≤ 4; on the y-axis, finishing gives y ≤ 4. The two resource boundaries intersect where 2x + y = 8 and x + 2y = 8. Subtracting gives x = y, hence x = y = 8/3.
The feasible corners are (0, 0), (4, 0), (8/3, 8/3) and (0, 4). A crossing of two drawn boundary lines is only a candidate until it passes every constraint. For example, the printing line meets the y-axis at (0, 8), but that point uses sixteen finishing staff-hours. It is outside the feasible region and must not enter the corner comparison.
CHAPTER 8 OF 26 · Work through the example
8. Compare the corners with the correct conclusion
The table evaluates all four feasible corners. The greatest score is 40/3 at (8/3, 8/3). MIT’s lecture on linear-programming geometry explains optimality at a corner when an optimum and a corner exist. Our region is nonempty, bounded and includes its boundary, so this corner comparison is applicable.
For this polygon, every feasible point is a weighted average of its corners with nonnegative weights summing to one. A linear objective at that point is the same weighted average of the corner scores, so it cannot exceed their largest score. This explains why checking a finite set can settle an infinite set of divisible choices. It does not imply that every optimal point in every problem must be a corner.
| Feasible corner | Printing use | Finishing use | Design credits |
|---|---|---|---|
| (0, 0) | 0 | 0 | 0 |
| (4, 0) | 8 | 4 | 12 |
| (8/3, 8/3) | 8 | 8 | 40/3 |
| (0, 4) | 4 | 8 | 8 |
CHAPTER 9 OF 26 · Work through the example
9. Prove the optimum with a weighted bound
A second argument can be checked without trusting a graph. Multiply 2x + y ≤ 8 by 4/3 and x + 2y ≤ 8 by 1/3, then add. Both multipliers are nonnegative, so the inequality directions are preserved. The result is 3x + 2y ≤ 40/3. Thus every feasible plan has a score at most 40/3.
The candidate (8/3, 8/3) is feasible and attains that bound, proving optimality. This pairing of a feasible solution with a matching bound is an elementary optimality certificate, related to the duality described in the MOSEK linear-optimisation chapter. The bound alone would not prove that its value is achievable; the candidate alone would not prove that no better choice exists.
CHAPTER 10 OF 26 · Identify failure modes
10. Read slack and the gap to the bound
Define printing slack s₁ = 8 − (2x + y) and finishing slack s₂ = 8 − (x + 2y). Feasibility makes both nonnegative. Rearranging the certificate gives 40/3 − z = (4/3)s₁ + (1/3)s₂. At (3, 2), the slacks are zero and one, so its score falls short of the bound by 1/3. The calculation agrees with 40/3 − 13.
For this particular objective, reaching the bound forces both slacks to zero because both weights are positive. The two boundary equations then identify the unique optimum. This is a conclusion derived from these coefficients, not a rule that every optimal plan uses every available resource. An unused resource may be irrelevant to the objective or constrained by a different bottleneck.
CHAPTER 11 OF 26 · Identify failure modes
11. Recalculate when one resource increases
Suppose printing capacity rises from eight to ten machine-hours while finishing remains eight staff-hours. The new boundary equations are 2x + y = 10 and x + 2y = 8, whose solution is (4, 2). It uses both updated budgets and scores sixteen. The old optimum remains feasible, but it is no longer best under the expanded printing allowance.
The same nonnegative multipliers give z ≤ (4/3)(10) + (1/3)(8) = 16, matching the candidate. The gain is 16 − 40/3 = 8/3 design credits. Attribute this change to the altered model and retain the unchanged finishing limit. Do not interpret a mathematical gain as permission to increase an actual resource budget or as measured improvement in the exhibition’s educational value.
CHAPTER 12 OF 26 · Identify failure modes
12. Identify where a marginal resource value stops applying
Write printing capacity as R while finishing stays eight. Solving both boundary equations gives x = (2R − 8)/3 and y = (16 − R)/3. These values are nonnegative for 4 ≤ R ≤ 16, and they attain z = (4R + 8)/3. Within this interval, increasing R by one increases the optimum by 4/3. The conclusion includes its valid range.
Beyond R = 16, continuing the formula would require negative y. With R = 17, the plan (8, 0) is feasible and scores twenty-four. No feasible plan scores more, because 3x + 2y ≤ 3x + 6y = 3(x + 2y) ≤ 24 for y ≥ 0. The extra printing hour is unused. A resource’s local value is not an unlimited promise.
CHAPTER 13 OF 26 · Identify failure modes
13. Allow several optimal plans when the objective changes
Return to the original two eight-hour budgets, but change the objective to q = x + 2y. The finishing constraint immediately gives q ≤ 8. Both (0, 4) and (8/3, 8/3) attain eight, and every point on the line segment joining them is feasible and has the same score. There are infinitely many optimal choices in this divisible model.
This example separates finding an optimal value from selecting a particular optimal plan. A further preference could distinguish the tied choices, but it must be stated rather than silently invented. The corner principle still supplies an optimal corner; it does not exclude optimal points along an edge. Do not report a unique solution just because a solver or graphing tool returned one representative.
CHAPTER 14 OF 26 · Identify failure modes
14. Change the domain when production must be whole units
Now impose a separate rule that x and y must be nonnegative integers, while retaining z = 3x + 2y and both original budgets. Rounding each 8/3 to three gives (3, 3), which violates both constraints. Rounding both down gives (2, 2), feasible but scoring only ten. Neither operation solves the new optimisation problem simply because it starts from the continuous optimum.
The continuous bound still applies to every integer feasible point, so z ≤ 40/3. Because z is now an integer, z ≤ 13. The feasible point (3, 2) scores thirteen, proving the integer optimum. The OR-Tools integer-programming example likewise treats integrality as an explicit restriction. Here the bound and a checked candidate settle the small case without rounding away a constraint.
CHAPTER 15 OF 26 · Identify failure modes
15. Separate infeasibility from an unbounded objective
If P1 also requires x + y ≥ 6, adding its two resource constraints gives 3x + 3y ≤ 16, hence x + y ≤ 16/3. The requirements conflict, so no feasible plan exists. Report the conflict and identify which conditions a decision owner would need to reconsider. Quietly dropping the minimum-area condition or raising a capacity would answer a different problem.
By contrast, remove both resource limits and retain only x, y ≥ 0. Then (k, 0) makes z = 3k arbitrarily large: the maximisation objective is unbounded. An unbounded feasible region need not have that outcome. Maximising x subject to 0 ≤ x ≤ 1 and y ≥ 0 has value one even though y is unrestricted above. These statuses describe different mathematical situations.
CHAPTER 16 OF 26 · Identify failure modes
16. Check whether the model represents the intended task
The exact optimum follows from exact linear relationships and the chosen objective. Real production might include setup time, minimum sheet sizes, drying delays, changing rates or limited demand. Adding any of these can change the model and its solution. A resource-budget optimum also does not establish a feasible time sequence when tasks have precedence requirements. Preserve this boundary when transferring the result to practical planning.
Ask who selected the design-credit weights and what they omit. A higher toy score is not automatically fairer, more accessible or more educationally useful. This follows the cross-branch lesson that shared knowledge must be adapted to local conditions. Human decision makers still determine the legitimate requirements; a mathematical procedure finds consequences of those requirements rather than choosing every value for them.
CHAPTER 17 OF 26 · Identify failure modes
17. Use AI to propose a plan and check its certificate
Ask an assistant for the variables, every constraint, a candidate and a proof bound. Recalculate resource use independently, preferably with exact fractions for this example. The displayed point (2.67, 2.67) uses 8.01 of each resource, so it is not exactly feasible. Printing a few decimal places can turn a correct symbolic solution into a misleading implementation instruction if the rounding rule is left unstated.
The point (2.66, 2.66) uses 7.98 of each resource and scores 13.30, below the optimum 40/3. It is a different feasible plan, not the exact optimiser. In computational work, inspect the model, termination status and numerical tolerances, as discussed in the OR-Tools advanced LP guide, rather than assuming any returned number proves optimality. For this small task, the exact candidate and inequality certificate provide a direct check independent of the assistant’s confidence.
CHAPTER 18 OF 26 · Identify failure modes
18. A prompt for inspectable optimisation
Try: Using only P1, define x and y with units and domains. Write both resource inequalities and the objective. List the feasible corners, rejecting boundary intersections that fail another condition. Calculate the best candidate using exact fractions. Prove that no feasible choice scores higher by giving nonnegative weights for the resource inequalities and showing the resulting bound.
Then add: Analyse three separate changes: printing capacity ten; objective x + 2y with the original capacities; and integer x and y with the original objective. Do not combine these scenarios. Explain whether rounding the continuous solution proves anything about the integer optimum, and identify real-world conditions this resource model does not contain. Check each response against its own clearly labelled scenario.
CHAPTER 19 OF 26 · Identify failure modes
19. A proposed rubric for a defensible best plan
Assess five dimensions separately: faithful formulation; feasibility checking; exact calculation; an appropriate optimality argument; and interpretation of changed assumptions. Use zero for absent evidence, one for major errors, two for mostly correct work with an identified gap, and three for independently reproducible reasoning. A polished graph does not compensate for an omitted constraint, and a feasible candidate does not replace a proof that it is best.
Collect the learner’s first explanation, a corrected assisted artifact and a fresh transfer attempt. Keep access supports and calculation aids appropriate to the learner while recording when answer-generating assistance was available. An unfamiliar recipient can separately check whether the handover is usable. This is a proposed classroom rubric, not a validated intelligence score or evidence that all three outcomes improve together.
CHAPTER 20 OF 26 · Test independent transfer
20. Independent transfer: allocate two archive-processing modes
A new fictional archive chooses u and v divisible workload units in two processing modes. They use u + v preparation hours and 2u + v review hours, limited to six and eight respectively. Both variables are nonnegative real numbers; maximise 4u + 3v processing credits. Find the feasible corners and prove the optimum before reading the solution. These credits are an invented objective, not measured knowledge or benefit.
The corners are (0, 0), (4, 0), (2, 4) and (0, 6), scoring zero, sixteen, twenty and eighteen. Twice the preparation inequality plus the review inequality gives 4u + 3v ≤ 20, attained at (2, 4). If preparation capacity separately falls to five, the same certificate gives eighteen, attained at (3, 2). Rechecking both inequalities proves that the revised candidate is feasible; the matching bound proves it is optimal.
| Transfer scenario | Optimal choice (u, v) | Matched objective bound |
|---|---|---|
| Preparation six; review eight | (2, 4) | 2 × 6 + 8 = 20 |
| Preparation five; review eight | (3, 2) | 2 × 5 + 8 = 18 |
CHAPTER 21 OF 26 · Test independent transfer
21. Primary learning: compare allowed combinations
Begin with a smaller whole-number activity using counters to represent two resource types. Each task card consumes a stated number of each counter and earns a stipulated number of points. Children can build a candidate, show the remaining counters and explain why a seemingly higher-scoring combination is impossible. Keep the domain as whole task cards; do not import fractional answers from the divisible-area example.
For a tiny finite set, list every allowed combination and compare the scores. That enumeration provides a complete argument at the chosen level. Learners can respond with objects, speech, drawings or accessible tables. Assess whether they preserved each resource limit and explained their comparison, rather than whether they used formal optimisation terminology or operated an AI tool.
CHAPTER 22 OF 26 · Test independent transfer
22. Secondary learning: connect geometry with algebraic proof
Secondary learners can graph the inequalities, solve simultaneous boundary equations and calculate the corner table. Then introduce the weighted certificate as an independent explanation. Ask why the weights must be nonnegative when adding these upper-bound inequalities, and why equality at a feasible point closes the argument. The two representations should describe the same model, not provide separate answers to reconcile by majority vote.
Use errors that reveal assumptions: a wrong inequality direction, a boundary crossing outside the region, a rounded infeasible point or an objective changed halfway through the solution. Learners should explain the error’s consequence and repair the model or argument. A later variant with a tied edge tests whether they understand the corner principle without overstating uniqueness.
CHAPTER 23 OF 26 · Test independent transfer
23. University, institutional planning and EnDist
At university, connect the simple certificate to primal and dual formulations, sensitivity ranges and numerical solution reports. Compare a continuous relaxation with an explicitly integer model. If resource coefficients are uncertain, revisit Interval Bounds before claiming the exact-data optimum is dependable across those uncertainties. A solver can process a specified mathematical problem; it cannot silently supply missing empirical relationships or authorised policy choices.
In the proposed EnDist perspective, a useful result must remain interpretable after it reaches another person. Hand over the objective, constraints, units, variable domains, candidate, proof and conditions for revision. Ask a recipient to reconstruct one feasibility check and one changed-capacity result. Record learner understanding, assisted artifact quality and receiver usability separately; the optimisation score is not an EnDist measurement or a law of social progress.
CHAPTER 24 OF 26 · Four-week coursework plan
24. A four-week Linear Programming Lab
Week one translates P1 into variables, units and constraints and tests several candidate plans. Week two constructs the feasible region, computes all valid corners and compares their scores. Week three develops the weighted proof, then changes capacities, the objective and the variable domain in separate labelled exercises. Learners use AI for proposals while retaining their own calculation record and corrections.
Week four uses the archive transfer before its answers are shown, followed by an unfamiliar reader’s reconstruction and a later changed case. Keep a brief record of the first formulation, the corrected argument, assistance used and the next learning target. This proposed sequence can be adapted to available time and learner needs; its organisation is not evidence that a particular educational effect has been established.
CHAPTER 25 OF 26 · Four-week coursework plan
25. Questions about optimality and practical choice
Does optimal mean best in every sense? It means best for the stated objective among choices satisfying the stated constraints. Missing priorities require discussion and, where appropriate, a revised model. Can a feasible point with the largest score I tried be called optimal? Only with an argument covering all feasible alternatives, such as complete enumeration, an applicable corner comparison or a matching proof bound.
Can a continuous answer simply be rounded? Rounding may violate constraints or lose the best integer choice, as P1 demonstrates. Recheck the altered domain explicitly. A solver’s result can guide investigation, but the reader needs to know whether it is a candidate, an established optimum or an unresolved calculation. Use a conclusion whose strength matches the evidence available.
CHAPTER 26 OF 26 · Four-week coursework plan
26. Sources, boundaries and the next independent plan
Technical references are the OR-Tools linear-optimisation introduction, MIT’s lecture on feasible-region geometry, the MOSEK chapter on linear optimisation and duality, the OR-Tools integer-programming example, and its advanced guide to solver results. They support the mathematical distinctions, not claims that these original exercises improve attainment.
The cross-branch connection is adapting shared knowledge to a different community’s constraints. The display and archive models here are fictional and intentionally simplified. Next, change one resource limit, solve the resulting problem independently and hand over both the feasible choice and its proof. Explain which real conditions would need checking before anyone applied the plan.
