<< Chapter < Page Chapter >> Page >
x y

means that only values of x that are greater than or equal to the y values are allowed.

x 20

means that only x values which are less than or equal to 20 are allowed.

The constraints are used to create bounds of the solution.

The solution

Points that satisfy the constraints are called feasible solutions.

Once we have determined the feasible region the solution of our problem will be the feasible point where the objective function is a maximum / minimum. Sometimes there will be more than one feasible point where the objective function is a maximum/minimum — in this case we have more than one solution.

Example of a problem

A simple problem that can be solved with linear programming involves Mrs Nkosi and her farm.

Mrs Nkosi grows mielies and potatoes on a farm of 100 m 2 . She has accepted orders that will need her to grow at least 40 m 2 of mielies and at least 30 m 2 of potatoes. Market research shows that the demand this year will be at least twice as much for mielies as for potatoes and so she wants to use at least twice as much area for mielies as for potatoes. She expects to make a profit of R650 per m 2 for her mielies and R1 500 per m 2 on her potatoes. How should she divide her land so that she can earn the most profit?

Let m represent the area of mielies grown and let p be the area of potatoes grown.

We shall see how we can solve this problem.

Method of linear programming

Method: linear programming

  1. Identify the decision variables in the problem.
  2. Write constraint equations
  3. Write objective function as an equation
  4. Solve the problem

Skills you will need

Writing constraint equations

You will need to be comfortable with converting a word description to a mathematical description for linear programming. Some of the words that are used is summarised in [link] .

Phrases and mathematical equivalents.
Words Mathematical description
x equals a x = a
x is greater than a x > a
x is greater than or equal to a x a
x is less than a x < a
x is less than or equal to a x a
x must be at least a x a
x must be at most a x a

Mrs Nkosi grows mielies and potatoes on a farm of 100 m 2 . She has accepted orders that will need her to grow at least 40 m 2 of mielies and at least 30 m 2 of potatoes. Market research shows that the demand this year will be at least twice as much for mielies as for potatoes and so she wants to use at least twice as much area for mielies as for potatoes.

  1. There are two decision variables: the area used to plant mielies ( m ) and the area used to plant potatoes ( p ).

    • grow at least 40 m 2 of mielies
    • grow at least 30 m 2 of potatoes
    • area of farm is 100 m 2
    • demand is at least twice as much for mielies as for potatoes
    • m 40
    • p 30
    • m + p 100
    • m 2 p

Constraints as equation

Write the following constraints as equations:

  1. Michael is registering for courses at university. Michael needs to register for at least 4 courses.
  2. Joyce is also registering for courses at university. She cannot register for more than 7 courses.
  3. In a geography test, Simon is allowed to choose 4 questions from each section.
  4. A baker can bake at most 50 chocolate cakes in 1 day.
  5. Megan and Katja can carry at most 400 koeksisters.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Siyavula textbooks: grade 11 maths. OpenStax CNX. Aug 03, 2011 Download for free at http://cnx.org/content/col11243/1.3
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Siyavula textbooks: grade 11 maths' conversation and receive update notifications?

Ask