Linear Programming: Integer Solutions and Changing the Objective | Edexcel A Level Further Maths notes

Free preview: Linear Programming: Integer Solutions and Changing the Objective

When the Best Corner Isn't a Whole Number

Year 1 (AS) for OCR A, where integer solutions are in the AS list (7.06d). AQA and Edexcel do not mark AS content in their specifications, so check your own specification.

Let's start with a potter. She makes x bowls and y vases a day. Clay: 3x+2y⩽21 (kg). Kiln time: x+2y⩽12 (hours). Profit: P=4x+3y pounds. Using the last note's methods, we find the best vertex.

๐Ÿ‘€ Watch me do it: find the optimal vertex

What I writeWhy I do it
3x+2y=21,x+2y=12The objective line leaves R where these two edges meet.
2x=9⇒x=4.5Subtract the second from the first: the 2y terms cancel.
2y=12−4.5=7.5⇒y=3.75Substitute into x+2y=12.
P=4(4.5)+3(3.75)=18+11.25=29.25Evaluate the profit at the vertex.
  • But she can't make half a bowl or three-quarters of a vase.
  • We need an integer solution: a feasible point where x and y are whole numbers.
  • The points with whole-number coordinates are called lattice points (or integer points). They form a grid of dots on the graph.
  • So the question becomes: which lattice point inside R gives the biggest P?

Close-up of the feasible region near the vertex (4.5, 3.75): feasible integer points shown as black dots and infeasible ones as grey crosses, with (5, 3) circled as the best integer point with P = 29

Following the diagram

  • Each black dot is a whole-number point inside R. Each grey cross is outside R.
  • Rounding the vertex up to (5, 4) fails: 3(5)+2(4)=23>21. It is a cross.
  • Rounding down to (4, 3) is feasible but gives only P=25.
  • (4, 4): 3(4)+2(4)=20⩽21 and 4+8=12⩽12. Feasible, P = 28.
  • (5, 3): 15+6=21⩽21 and 5+6=11⩽12. Feasible, P=20+9=29.
  • (5, 3) is circled as the best integer point.

Why 29 must be the best

  • The vertex gives the largest P anywhere in R: 29.25. No point in R, whole-number or not, can beat that.
  • With whole-number x and y, P=4x+3y is a whole number. The biggest whole number not above 29.25 is 29.
  • (5, 3) reaches 29, so nothing can do better. 5 bowls and 3 vases is optimal.

๐Ÿ’ก In plain words

  • The vertex value is a ceiling: the integer answer can only match it or fall below it.
  • If you find an integer point that reaches the ceiling (rounded down to the right whole number), you can stop.

The Integer Method, Step by Step

The recipe: finding the best integer point

  1. Find the non-integer optimal vertex and its objective value. Why: it is the ceiling, and it tells you where to look.
  2. List the integer points close to the vertex, near both edges that meet there. Why: the best integer point is usually near the best vertex.
  3. Check every constraint for each point. Why: a point just outside R is not allowed, however good its P.
  4. Work out the objective for each feasible point, in a table.
  5. Choose the best, and justify it (it reaches the ceiling, or no nearby point beats it).
  6. Answer in context.

๐Ÿ‘€ Watch me do it: the potter's table

Point3x+2y⩽21?x+2y⩽12?P = 4x + 3y
(5, 4)23 โœ—13 โœ—not feasible
(4, 4)20 โœ“12 โœ“28
(5, 3)21 โœ“11 โœ“29
(6, 1)20 โœ“8 โœ“27
(7, 0)21 โœ“7 โœ“28
What I writeWhy I do it
Points tried: around (4.5, 3.75) and along the clay edge.These are the lattice points nearest the vertex and nearest the edges.
(5, 3) gives 29.Largest in the table.
29 is the largest whole number not above 29.25.So no other integer point can beat it.
Make 5 bowls and 3 vases a day, profit ยฃ29.Answer in context.

๐Ÿ“ Never just round

  • โœ— Wrong: "(4.5, 3.75) rounds to (5, 4)". (5, 4) breaks the clay constraint.
  • โœ— Also wrong: "round down to (4, 3), which is safe". It is feasible, but gives only 25.
  • โœ“ Right: test a small table of nearby integer points against every constraint, and pick the best feasible one.

โœ๏ธ YOUR TURN 1

Try this first:

Maximise P=3x+2y subject to 2x+y⩽11, x+3y⩽15, x,y⩾0, where x and y are integers.

Answer:

  • Vertex: 2x+y=11 and x+3y=15. From the first, y=11−2x; then x+33−6x=15, so x=3.6, y=3.8. P=10.8+7.6=18.4.
  • (4, 4): 12>11 โœ—. (4, 3): 11 โœ“ and 13 โœ“, P = 18. (3, 4): 10 โœ“ and 15 โœ“, P = 17. (5, 1): 11 โœ“, 8 โœ“, P = 17.
  • 18 is the largest whole number not above 18.4, so (4, 3) is optimal, P = 18.

Unlock the full note: start 7 days free.

Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.

Log in ยท Subscribe ยท Start free trial

All notes in Linear Programming

  1. Linear Programming: Turning a Problem in Words into Inequalities
  2. Linear Programming: Feasible Regions, Objective Lines and Vertex Testing
  3. Linear Programming: Integer Solutions and Changing the Objective

What's inside for this topic

3 teacher notes, 72 practice questions, 49 flashcards, 2 quizzes.

Get the full notes, every practice question, flashcards, quizzes and mock papers.

Start your free 7-day trial

Questions? Chat with us on WhatsApp ยท Try one live lesson

Previous note: Linear Programming: Feasible Regions, Objective Lines and Vertex Testing

Linear Programming: Integer Solutions and Changing the Objective on other exam boards

All Edexcel A Level Further Maths topics ยท A Level Further Maths