1 of 127

12M12

Linear Programming

2 of 127

Introduction

3 of 127

Why Linear Programming ???

Rs. 50,000

Price :

Profit :

2500

500

250

75

Storage space of Max. 60 items

Maximum Profit

4 of 127

12M12.1

Linear Programming & its Mathematical Formulation

5 of 127

12M12.1 – Linear Programming & its Mathematical Formulation

Learning Objectives

Graphical Method of Solving Linear Programming Problems

Mathematical Formulation of the Problems

Finding Optimum value of Objective function For Bounded Feasible Region

6 of 127

12M12.1

CV1

Mathematical Formulation of the Problems

7 of 127

Rs. 50,000

Quantity :

 

 

Maximum Profit

 

(Non-negative

Constraints)

Price :

Profit :

2500

500

250

75

Storage space of Max. 60 items

 

 

Simplify :

(Investment Constraint)

 

 

8 of 127

Rs. 50,000

Quantity :

 

 

Maximum Profit

 

(Non-negative

Constraints)

Price :

Profit :

2500

500

250

75

Storage space of Max. 60 items

 

 

Simplify :

(Investment Constraint)

 

 

 

(Storage Constraint)

9 of 127

Rs. 50,000

Quantity :

 

 

 

(Non-negative

Constraints)

Price :

Profit :

2500

500

250

75

Storage space of Max. 60 items

 

 

Simplify :

(Investment Constraint)

 

 

 

(Storage Constraint)

Maximum Profit

Let profit = Z

Z =

 

(Objective Function)

 

 

10 of 127

Objective Function :

Function or a Quantity that needs to be maximised or minimised.

Constraints :

Boundation / conditions applied on decision variables.

Some Basic Terminology

11 of 127

12M12.1

CV2

Graphical Method of Solving Linear Programming Problems

12 of 127

Rs. 50,000

Quantity :

 

 

 

(Non-negative

Constraints)

Price :

Profit :

2500

500

250

75

Storage space of Max. 60 items

 

 

Simplify :

(Investment Constraint)

 

 

 

(Storage Constraint)

Maximum Profit

Let profit = Z

Z =

 

(Objective Function)

 

 

13 of 127

 

 

 

Constraints :

 

 

 

 

 

 

 

14 of 127

 

 

 

Constraints :

 

 

 

 

 

 

 

15 of 127

 

 

 

Constraints :

 

 

 

 

 

 

 

 

 

 

 

16 of 127

 

 

 

Constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

17 of 127

 

 

 

Constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

18 of 127

Feasible Region :

A common region which satisfy all the constraints.

Feasible Solution :

Any point in the feasible region.

Optimum Solution :

Any point in the feasible region that gives optimum value (min. / max.) of Objective function.

Some Basic Terminology

19 of 127

12M12.1

CV3

Finding Optimum Value of Objective

Function for Bounded Feasible Region

20 of 127

 

 

 

Constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

21 of 127

 

 

 

 

 

Theorem 1 :

 

Feasible Region(R)

 

& R be the feasible region (convex polygon)

22 of 127

 

 

 

Constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

23 of 127

12M12.1

PSV 1

24 of 127

 

subject to the constraints :

Q.

 

 

 

 

 

 

 

 

(NCERT Ex. 12.1, Q2)

25 of 127

 

subject to the constraints :

Q.

 

 

 

 

 

 

 

 

 

 

 

 

26 of 127

 

subject to the constraints :

Q.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

27 of 127

 

subject to the constraints :

Q.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

28 of 127

 

subject to the constraints :

Q.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

29 of 127

12M12.1

PSV 2

30 of 127

Q.

 

 

subject to the constraints :

 

 

 

 

 

 

 

 

 

31 of 127

 

 

 

 

 

 

 

 

0

20

60

0

 

 

 

 

 

 

Q.

 

subject to the constraints :

32 of 127

 

 

 

 

 

 

 

 

0

10

10

0

 

 

 

 

 

 

 

 

 

Q.

 

subject to the constraints :

33 of 127

 

 

 

 

 

 

 

 

0

0

20

20

 

 

 

 

 

 

 

 

 

 

 

 

 

Q.

 

subject to the constraints :

34 of 127

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Q.

 

subject to the constraints :

 

 

35 of 127

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Q.

 

subject to the constraints :

 

 

 

 

36 of 127

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Q.

 

subject to the constraints :

 

 

 

 

 

37 of 127

 

 

 

 

 

Note :

Feasible Region(R)

 

A

B

C

D

E

38 of 127

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Q.

 

subject to the constraints :

 

 

 

39 of 127

12M12.1

PSV 3

40 of 127

 

subject to the constraints :

 

 

 

Q.

 

 

 

 

 

41 of 127

 

subject to the constraints :

 

 

 

Q.

 

 

 

 

 

 

 

 

 

42 of 127

 

subject to the constraints :

 

 

 

Q.

 

 

 

 

 

 

 

 

 

 

 

 

43 of 127

 

subject to the constraints :

 

 

 

Q.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

44 of 127

 

subject to the constraints :

 

 

 

Q.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Unbounded

 

 

 

 

45 of 127

 

Note :

If feasible region is unbounded, then optimal value of objective function may not exist.

 

 

 

 

 

 

 

Case 1 :

No common point.

 

 

46 of 127

 

Note :

If feasible region is unbounded, then optimal value of objective function may not exist.

 

 

 

 

 

 

 

Case 2 :

Common point exist b/w feasible region and open half plane.

 

 

47 of 127

 

subject to the constraints :

 

 

 

Q.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Unbounded

 

 

 

 

 

 

 

 

 

 

 

 

 

No Common point

48 of 127

ConcepTest 1

49 of 127

 

subject to the constraints :

 

 

 

 

 

 

Q.

 

 

 

 

 

(NCERT Ex. 12.1, Q9)

50 of 127

 

subject to the constraints :

 

 

 

 

 

Q.

 

 

 

 

 

 

 

 

 

 

51 of 127

 

subject to the constraints :

 

 

 

 

 

Q.

 

 

 

 

 

 

 

 

 

 

 

 

 

52 of 127

 

subject to the constraints :

 

 

 

 

 

Q.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

53 of 127

 

subject to the constraints :

 

 

 

 

 

Q.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

54 of 127

 

subject to the constraints :

 

 

 

 

 

Q.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Unbounded

55 of 127

subject to the constraints :

 

 

 

 

 

Q.

 

 

 

 

 

 

 

 

 

 

 

 

 

Unbounded

 

 

 

 

 

 

 

 

 

56 of 127

Steps to solve Linear Programming Problem

Linear Programming

Summary

 

57 of 127

Reference Questions

NCERT (Ex. 12.1)

:

1, 3, 4,5,6, 7,8, 10

Work Book

:

1, 2, 3, 4, 5, 6, 7, 8, 9, 10

58 of 127

12M12.2

Different Types of Linear Programming Problems

59 of 127

12M12.2 –Different types of Linear Programming Problem

Learning Objectives

Diet Problems

Introduction to the Problems

Transportation Problem

Manufacturing Problem

60 of 127

12M12.2

CV1

Introduction to the Problems

61 of 127

Diet Problem

2 units/kg

1 unit/kg

1 unit/kg

2 units/kg

50 Rs/kg

70 Rs/kg

8 units/day

10 units/day

Minimum Expenditure on Proper Diet

A

62 of 127

Transportation Problem

Factory P

Cap. = 8 units

Location A

Req. = 5 units

Location B

Req. = 5 units

Location C

Req. = 4 units

Factory Q

Cap. = 6 units

Rs. 120

Rs. 100

Rs. 100

Rs. 100

Rs. 160

Rs. 150

Minimum

Transportation

cost

63 of 127

Manufacturing Problem

Finishing :

Fabricating :

Profit :

9 hours

1 hours

3 hours

12 hours

8000

12000

Model A

Model B

 

 

 

Max. 180 hour

Max. 30 hour

Maximum??

64 of 127

12M12.2

CV2

Diet Problems

65 of 127

Ex. :

Requirement

 

 

Food Q

 

 

 

Food P

 

 

 

Vit. A

Vit. B

Cost

 

 

 

 

 

 

 

 

 

 

 

Objective Function

 

Vit. A constraint :

Vit. B constraint :

Non negative constraint :

66 of 127

 

subject to the constraints :

 

 

 

 

 

 

 

 

67 of 127

 

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

68 of 127

 

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

69 of 127

 

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

70 of 127

 

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Unbounded

 

71 of 127

 

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

Unbounded

 

 

 

 

 

 

No Common point

 

72 of 127

 

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

Unbounded

 

 

 

 

 

 

No Common point

 

73 of 127

ConcepTest 1

74 of 127

Requirement

 

 

 

 

 

 

 

 

 

 

Vit. A

Minerals

Cost

 

 

 

 

 

 

 

 

 

 

 

Objective

Function

 

Vit. A constraint :

Vit. B constraint :

Non negative constraint :

 

Pause the Video

(Time Duration : 4 Minutes)

75 of 127

 

subject to the constraints :

 

 

 

 

 

 

 

 

76 of 127

 

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

77 of 127

 

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

78 of 127

 

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

79 of 127

 

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Unbounded

 

80 of 127

 

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Unbounded

 

 

 

 

 

No Common Point

 

81 of 127

 

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Unbounded

 

 

 

 

 

No Common Point

 

82 of 127

12M12.2

CV3

Transportation Problems

83 of 127

How should the supplies be transported in order that the transportation cost is minimum?

What is the minimum cost?

Ex. Two godowns A and B have grain capacity of 100 quintals and 50 quintals respectively. They supply to 3 ration shops, D, E and F whose requirements are 60, 50 and 40 quintals respectively. The cost of transportation per quintal from the godowns to the shops are given in the following table:

A

Transportation cost per quintal (in Rs)

From/To

B

D

F

E

 

 

 

 

 

 

Shop D

60 quintal

Shop F

40 quintal

Shop E

50 quintal

Godown B

50 quintal

Godown A

100 quintal

 

 

 

 

 

 

 

 

 

 

 

 

84 of 127

Ex.

Shop D

60 quintal

Shop F

40 quintal

Shop E

50 quintal

Godown B

50 quintal

Godown A

100 quintal

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Constraints :

 

 

 

 

 

 

 

 

 

85 of 127

 

subject to the constraints :

 

 

 

 

 

 

 

 

 

86 of 127

 

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

87 of 127

 

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

88 of 127

 

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

89 of 127

 

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

90 of 127

 

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

91 of 127

 

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

92 of 127

 

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

93 of 127

Ex.

Shop D

60 quintal

Shop F

40 quintal

Shop E

50 quintal

Godown B

50 quintal

Godown A

100 quintal

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

94 of 127

ConcepTest 2

95 of 127

A

Distance in (Km.)

From/To

B

D

F

E

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Pause the Video

(Time Duration : 4 Minutes)

Q. An oil company has two depots A and B with capacities of 7000 L and 4000 L respectively. The company is to supply oil to three petrol pumps, D, E and F whose requirements are 4500L, 3000L and 3500L respectively. The distances (in km) between the depots and the petrol pumps is given in the following table:

Assuming that the transportation cost of 10 litres of oil is Re 1 per km, how should the delivery be scheduled in order that the transportation cost is minimum?

96 of 127

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Q.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Constraints :

 

 

 

 

 

 

 

 

 

97 of 127

Minimise

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

98 of 127

Minimise

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

99 of 127

Minimise

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

100 of 127

Minimise

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

101 of 127

Minimise

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

102 of 127

Minimise

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

103 of 127

Minimise

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

104 of 127

Minimise

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

105 of 127

Minimise

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

106 of 127

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Q.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

107 of 127

12M12.2

CV4

Manufacturing Problems

108 of 127

Ex. A manufacturer produces nuts and bolts. It takes 1 hour of work on machine A and 3 hours on machine B to produce a package of nuts. It takes 3 hours on machine A and 1 hour on machine B to produce a package of bolts. He earns a profit of Rs17.50 per package on nuts and Rs 7.00 per package on bolts. How many packages of each should be produced each day so as to maximise his profit, if he operates his machines for at the most 12 hours a day?

Nuts

Bolts

Machine A

Machine B

 

 

 

 

Profit

 

 

 

 

Let

Max Hours

 

 

109 of 127

Ex.

Nuts

Bolts

Machine A

Machine B

 

 

 

 

Profit

 

 

 

 

Let

Max Hours

 

 

 

 

 

Constraints :

 

 

 

110 of 127

Ex.

 

 

 

 

 

 

Maximise

subject to the constraints :

 

 

 

 

 

111 of 127

Ex.

 

 

 

 

 

 

Maximise

subject to the constraints :

 

 

 

 

 

 

 

 

 

112 of 127

Ex.

 

 

 

 

 

 

Maximise

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

113 of 127

Ex.

 

 

 

 

 

 

Maximise

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

114 of 127

Ex.

 

 

 

 

 

 

Maximise

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

115 of 127

Ex.

 

 

 

 

 

 

Maximise

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

116 of 127

ConcepTest 3

117 of 127

A

Types of Toys

Machine

B

D

F

E

 

 

 

 

 

 

 

 

Let

Total profit :

Profit

 

 

 

 

 

 

 

 

Constraints :

 

 

 

 

Objective

Function

Pause the Video

(Time Duration : 4 Minutes)

Q. A manufacturer makes two types of toys A and B. Three machines are needed for this purpose and the time (in minutes) required for each toy on the machines is given below:

Each machine is available for a maximum of 6 hours per day. If the profit on each toy of type A is Rs 7.50 and that on each toy of type B is Rs 5, show that 15 toys of type A and 30 of type B should be manufactured in a day to get maximum profit.

118 of 127

 

 

 

 

 

 

Maximise

subject to the constraints :

 

 

 

 

 

 

119 of 127

 

 

 

Maximise

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

120 of 127

 

 

 

Maximise

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

121 of 127

 

 

 

Maximise

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

122 of 127

 

 

 

Maximise

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

123 of 127

 

 

 

Maximise

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

124 of 127

 

 

 

Maximise

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

125 of 127

Ex.

 

 

 

Maximise

subject to the constraints :

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

126 of 127

Steps to solve different Linear Programming Problems

Linear Programming

Summary

  • Read the question carefully
  • Identify Objective Function
  • Create linear inequalities with constraints given
  • Solve the Inequalities as discussed in topic 1

127 of 127

Reference Questions

NCERT (Ex. 12.2)

:

2, 3, 5, 6, 7, 8, 10, 11

Work Book

:

11, 12, 13, 14, 15, 16, 17, 18, 19, 20