๐Ÿ“ Mathematics โ€” Class XII ยท Linear Programming

Linear Programming

Finding the best outcome under constraints โ€” the mathematics of optimisation

๐Ÿ“– Chapter 12 โฑ ~45 min read ๐Ÿท Optimisation

In this chapter

  1. Introduction
  2. Linear Programming Problem and its Mathematical Formulation
  3. Summary
  4. Historical Note

12.1 Introduction

In earlier classes, we have discussed systems of linear equations and their applications. In Class XI, we studied linear inequalities and systems of linear inequalities in two variables and their solutions by graphical method.

Many applications in mathematics involve systems of inequalities/equations. In this chapter, we shall apply systems of linear inequalities to solve real-life problems of the type below:

Example โ€” Furniture Dealer

A furniture dealer deals in only two items โ€” tables and chairs. He has โ‚น50,000 to invest and has storage space of at most 60 pieces. A table costs โ‚น2,500 and a chair โ‚น500. He estimates that from the sale of one table he can make a profit of โ‚น250 and from one chair โ‚น75. How many tables and chairs should he buy to maximise his total profit?

Such problems which seek to maximise (or minimise) profit (or cost) form a general class of problems called optimisation problems. A special but very important class of optimisation problems is linear programming. Linear programming problems are of much interest because of their wide applicability in industry, commerce, management science, etc.

12.2 Linear Programming Problem and its Mathematical Formulation

We begin with the furniture dealer example, which leads to the mathematical formulation of a problem in two variables.

Mathematical Formulation

Let x be the number of tables and y be the number of chairs. Then:

Decision variables & constraints x โ‰ฅ 0, y โ‰ฅ 0   (non-negative constraints)
2500x + 500y โ‰ค 50000  โ†’  5x + y โ‰ค 100   (investment constraint)
x + y โ‰ค 60   (storage constraint)

Objective function (maximise) Z = 250x + 75y

The dealer wants to find the values of x and y that maximise Z = 250x + 75y subject to the above constraints. This is a linear programming problem (LPP).

Feasible region and corner point method for the furniture dealer LPP
Figure 12.1 โ€” Feasible region with corner points (left) and evaluation table (right). Optimal solution at B(10, 50) with Z = 6250.

Corner Point Method

Six steps of the graphical method for solving LPP
Figure 12.2 โ€” Six steps of the graphical method for solving a linear programming problem

The method of solving a linear programming problem by graphing the constraints and testing the corner points of the feasible region is called the corner point method. The fundamental theorem states:

Fundamental Theorem of Linear Programming

If the feasible region is bounded, then the objective function Z has both a maximum and a minimum value, and these occur at the corner points of the feasible region. If the feasible region is unbounded, the objective function may or may not have a maximum or minimum value โ€” further analysis is needed.

Types of LPP

bounded

Bounded Feasible Region

The feasible region is a closed polygon. Both maximum and minimum of Z exist and occur at corner points.

โˆž

Unbounded Feasible Region

The feasible region extends infinitely in some direction. Z may not have a maximum or minimum โ€” must verify by checking whether Z can exceed a given value.

Multiple Optima

If the objective function Z has the same maximum (or minimum) value at two corner points, then every point on the line segment joining these two points gives the same maximum (or minimum) value. In this case, the LPP has infinitely many optimal solutions.

Diet Problem Example

A dietician wishes to combine two foods, Fโ‚ and Fโ‚‚, such that the mixture contains at least 80 units of vitamin A and 100 units of vitamin B. Food Fโ‚ costs โ‚น4/unit and Fโ‚‚ costs โ‚น6/unit. Fโ‚ contains 3 units of vitamin A and 5 units of vitamin B per unit; Fโ‚‚ contains 5 units of vitamin A and 4 units of vitamin B per unit.

Diet Problem Formulation Minimise Z = 4xโ‚ + 6xโ‚‚
Subject to: 3xโ‚ + 5xโ‚‚ โ‰ฅ 80  (vitamin A)
            5xโ‚ + 4xโ‚‚ โ‰ฅ 100  (vitamin B)
            xโ‚, xโ‚‚ โ‰ฅ 0

Optimal: xโ‚ = 200/7, xโ‚‚ = 200/7, Z โ‰ˆ โ‚น108.57 (minimum)
Important note

In this chapter, we study linear programming problems and their solutions by graphical method only, though there are many other methods (such as the simplex method) to solve more complex LPPs.

โˆ‘ Summary

๐Ÿ“œ Historical Note

L. Kantorovich and the American mathematical economist T. C. Koopmans were awarded the Nobel Prize in 1975 in Economics for their pioneering work in linear programming. With the advent of computers and necessary software, it has become possible to apply linear programming models to increasingly complex problems in many areas.

Ch 11 โ€” Three Dimensional Geometry Ch 13 โ€” Probability