Skip to content
Tactiverge

Learning Rooms/□ Level 4 · Systems Engineer/Mathematics

Linear Programming (maximize the objective function given the constraints)

Math Problems Solved Craig Faulhaber · Length: see YouTube · captions on YouTube · nothing loads until you press play

By the end you can…

  • Draw the feasible region of a two-variable linear programme.
  • Show that a linear objective is optimised at a vertex, and find it by evaluating the corners.
  • Interpret binding constraints and the sensitivity of the optimum to a resource limit.
?Predict▶Watch✓Practise⚙Build

Watch it all: no segment has been checked by hand for this video yet.

1.Predict before you press play

You maximise 3x + 5y over a polygon-shaped feasible region. Where can the maximum be?

Pick one before you press play. A wrong guess is fine: it is what makes the video stick.

2.See the idea first

Play with this diagram for a minute. It gives you something to hang the video on.

Loading the interactive…

Can't use the diagram? Read a description instead

The explorer shows the feasible region for 2x + y ≤ M (machining) and x + 3y ≤ A (assembly) with x, y ≥ 0, as a shaded polygon. A table lists each corner and its profit c₁x + c₂y; the largest is marked best. With M = 24, A = 30, c₁ = 3 and c₂ = 5 the corners are (0, 0), (12, 0), (0, 10) and (8.4, 7.2), and the optimum is 61.20 at (8.4, 7.2). Adding one machining hour raises it to about 62.00.

3.Watch, actively

A worked graphical linear programme: shade the constraints, find the corners, test the objective at each.

Length: see YouTube · captions on YouTube · source

Nothing loads from YouTube until you press play.

Watch for…

  • → Follow the corner-point method: shade the constraints, list the vertices, test the objective at each.

Pause whenever you like. Rewatching a hard minute is a good habit, not a failure.

Can't stream it? Read the idea instead

In a linear programme each constraint is a straight line that cuts away part of the plane, leaving a region of allowed solutions with straight edges. Because the objective is also linear, its best value always occurs at a corner, so you only need to test the corners.

What the video covers (our own note, written when we verified it): A worked graphical linear programme: shade the constraints, find the corners, test the objective at each.

Written by Tactiverge in our own words, not a transcript. The full lesson below explains the idea without the video.

Read it instead

Jot down one thing that surprised you and one question you still have.

Private: saved only on this device, never sent to Tactiverge.

4.Practise what you just saw

These come from the lesson that use this video and are checked on the server. Wrong answers get a hint and another try.

Practice 1 · a fresh version every time

A small factory makes x controllers and y sensor boards a day. Assembly time: 2x + 1y ≤ 18 hours. Test time: 1x + 4y ≤ 36 hours. Also x ≥ 0, y ≥ 0 (fractions allowed). Profit is 8x + 9y pounds. What is the maximum profit, in pounds? (2 decimal places.)

£

Practice 2 · a fresh version every time

A small factory makes x controllers and y sensor boards a day. Assembly time: 3x + 1y ≤ 36 hours. Test time: 1x + 3y ≤ 36 hours. Also x ≥ 0, y ≥ 0 (fractions allowed). Profit is 5x + 3y pounds. What is the maximum profit, in pounds? (2 decimal places.)

£

Practice 3

At the optimum, the assembly constraint has 6 hours of slack. What happens to the optimum if you buy 4 more assembly hours?

Practice 4

The LP optimum is 8.4 frames and 7.2 chassis, but you can only build whole items. What is true?

5.Try it yourself

No simulation models this idea yet. The lesson below has an interactive diagram instead.

6.Where engineers use it

Power-grid operators solve linear programmes every few minutes to decide which generators to run at what output, meeting demand at least cost while respecting line limits.

From the applied view in the lesson Linear programming: why the corners win. Checked by automated tests only.

7.Build something with it

Follow-up project

A rover's science day: x hours of driving (needs 60 W) and y hours of imaging (needs 25 W). Energy ≤ 300 Wh, x + y ≤ 8 h, x ≤ 4 h. Science value 2x + 3y. Draw the region, find the corners and the optimum, and say which constraint you'd relax first.

Where this video lives

In the course catalogue: CSE-420 Optimisation and computational trade-offs

The video is by Math Problems Solved Craig Faulhaber, embedded from YouTube with privacy-enhanced mode and never autoplayed. The room around it (prompts, notes, practice, projects) is Tactiverge's, written with AI assistance and checked by automated tests only.