SlideShare uma empresa Scribd logo
1 de 31
Presented To:
Dr. Col (Retd) Manjushree Kumar

Presented by:
Dr. Aadil
Krantee
Mrudul
Ratish
Contents
•
•
•
•
•
•
•
•
•

Introduction
History
Linear programming model formulation
Applications
Illustration (Diet problem)
Assignment problem
Assumptions of LP
Limitations of LP
Duality
2
Introduction
• Linear Programming is a mathematical modeling

technique used to determine a level of operational
activity in order to achieve an objective.
• Mathematical programming is used to find the best or
optimal solution to a problem that requires a decision or
set of decisions about how best to use a set of limited
resources to achieve a state goal of objectives.
3
History of linear programming
• It started in 1947 when G. B. Dantzig designed the

“simplex method” for solving linear programming
formulations of U.S. Air Force planning problems.
• It soon became clear that a surprisingly wide range of
apparently

unrelated

problems

in

production

management could be stated in linear programming
terms and solved by the simplex method.
4
LP Model Formulation
• Decision variables
– mathematical symbols representing levels of activity of an operation

• Objective function
– a linear relationship reflecting the objective of an operation
– most frequent objective of business firms is to maximize profit
– most frequent objective of individual operational units (such as a
production or packaging department) is to minimize cost

• Constraint
– a linear relationship representing a restriction on decision making

5
• Steps involved in mathematical programming
– Conversion of stated problem into a mathematical model that

abstracts all the essential elements of the problem.
– Exploration of different solutions of the problem.
– Find out the most suitable or optimum solution.

• Linear programming requires that all the mathematical
functions in the model be linear functions.

6
Applications
The Importance of Linear Programming
•
•
•
•
•
•
•

Hospital management
Diet management
Manufacturing
Finance (investment)
Advertising
Agriculture
Military

7
Some applications in Hospital management :
1) Incinerators and Pollution Control. (What is the most
economical way to make the necessary cutbacks? i.e. sulfur
dioxide emissions must be limited to 400,000 units per day
and particulate emissions to 50,000 units per day .)
2) Assignments to Hospitals .(draw up a disaster plan for
assigning casualties to hospitals in the event of a disaster.
How should the victims be assigned to minimize the total
time lost in transporting them?)
3) The Diet Problem. (e.g.. The problem is to supply the
required nutrients at minimum cost.)
4) The Transportation Problem (e.g..The problem is to meet the
hospital or patient requirements at minimum transportation
cost.)

8
5) The Activity Analysis Problem. ( e.g.. The problem is to
choose the intensities which the various activities are to be
operated to maximize the value of the output to the company
subject to the given resources.)

6) The Optimal Assignment Problem. ( e.g.. The problem is to
choose an assignment of persons to jobs to maximize the total
value.)
7) The Product Mix Problem (The company would like to
determine how many units of each product it should produce
so as to maximize overall profit given its limited resources.)
8) Design of radiation therapy. (e.g.. Radiation therapy beams
affects tissues. The goal of the design is to select the
combination of beams to be used and the intensity of each
one.)

9
Illustration 1. Diet problem
Question:







A dietician has to develop a special diet using two foods P
and Q.
Each packet (containing 30 g) of food P contains 12 units of
calcium, 4 units of iron, 6 units of cholesterol and 6 units of
vitamin A.
Each packet of the same quantity of food Q contains 3 units
of calcium, 20 units of iron, 4 units of cholesterol and 3 units
of vitamin A.
The diet requires at least 240 units of calcium, at least 460
units of iron and at most 300 units of cholesterol.
How many packets of each food should be used to minimize
the amount of vitamin A in the diet? What is the minimum
amount of vitamin A?
10
Solution:
Let x and y be the number of packets of food P and Q respectively.
Obviously x ≥ 0, y ≥ 0. Mathematical formulation of the given problem
is as follows:
Minimize Z = 6x + 3y (vitamin A) subject to the constraints
12x + 3y ≥ 240 (constraint on calcium), i.e. 4x + y ≥ 80

... (1)

4x + 20y ≥ 460 (constraint on iron.), i.e. x + 5y ≥ 115

... (2)

6x + 4y ≤ 300 (constraint on cholestérol), i.e. 3x + 2y ≤ 150

... (3)

x ≥ 0, y ≥ 0

... (4)
11
• Let us graph the inequalities (1) to
(4).The feasible region (shaded)
determined by the constraints (1) to (4)
is shown in the figure.
• The coordinates of the corner points L,
M and N are (2, 72), (15, 20) and (40,
15) respectively. Let us evaluate Z at
these points:

• From the table, we find that Z is
minimum at the point (15, 20). Hence,
the amount of vitamin A under the
constraints given in the problem will be
minimum, if 15 packets of food P and
20 packets of food Q are used in the
special diet. The minimum amount of
vitamin A will be 150 units.
12
Assignment problem
• The assignment problem refers to the class of
linear programming problems that involve
determining the most efficient assignment of
assignees to perform tasks.
 people to projects
 salespeople to territories
 contracts to bidders
 jobs to machines, etc.
• The objective is most often to minimize total
costs or total time of performing the tasks at hand.
13
• To fit the definition of an assignment problem, these
kinds of applications need to be formulated in a way
that satisfies the following assumptions.
1.The number of assignees and the number of tasks are
the same. (This number is denoted by n.)
2.Each assignee is to be assigned to exactly one task.
3.Each task is to be performed by exactly one assignee.
4.There is a cost cij associated with assignee i (i1, 2,...,n)
performing task j (j1, 2, . . . ,n).
5.The objective is to determine how all assignments
should be made to minimize the total cost.
14
Assignment problem solving
methods
1.
2.
3.
4.

Hungarian Method
Enumeration method
Simplex method
Transportation

15
AP (Hungarian method)
Question:
We must determine how jobs should be assigned to
machines to minimize setup times, which are given below:
Job 1

Job 2

Job 3

Job 4

Machine 1

14

5

8

7

Machine 2

2

12

6

5

Machine 3

7

8

3

9

Machine 4

2

4

6

10

16
• Step 1: (a) Find the minimum element in
each row of the cost matrix. Form a new
matrix by subtracting this cost from each
row. (b) Find the minimum cost in each
column of the new matrix, and subtract this
from each column. This is the reduced cost
matrix.

17
Step 1(a)
Job 1

Job 2

Job 3

Job 4

Machine 1

14

5

8

7

Machine 2

2

12

6

5

Machine 3

7

8

3

9

Machine 4

2

4

6

10

Job 1

Job 3

Job 4

Machine 1

Row Reduction

Job 2

9

0

3

2

Machine 2

0

10

4

3

Machine 3

4

5

0

6

Machine 4

0

2

4

8
18
Step 1(b)
Job 1

Job 2

Job 3

Job 4

Machine 1

9

0

3

2

Machine 2

0

10

4

3

Machine 3

4

5

0

6

Machine 4

0

2

4

8

Job 1

Job 2

Job 3

Job 4

Machine 1

9

0

3

0

Machine 2

0

10

4

1

Machine 3

4

5

0

4

Machine 4

0

2

4

6

Column Reduction

19
Step 2
Draw the minimum number of lines that are needed to
cover all the zeros in the reduced cost matrix. If m lines are
required, then an optimal solution is available among the
covered zeros in the matrix. Otherwise, continue to Step 3.
Job 1

Job 2

Job 3

Job 4

Machine 1

9

0

3

0

Machine 2

0

10

4

1

Machine 3

4

5

0

4

Machine 4

0

2

4

6

20
Step 3
Find the smallest nonzero element (say, k)
in the reduced cost matrix that is uncovered
by the lines. Subtract k from each
uncovered element, and add k to each
element that is covered by two lines. Return
to Step 2.

21
Step 4
Job 1

Job 2

Job 3

Job 4

Machine 1

9

0

3

0

Machine 2

0

10

4

1

Machine 3

4

5

0

4

Machine 4

0

2

4

6

Job 1

Job 2

Job 3

Job 4

Machine 1

10

0

3

0

Machine 2

0

9

3

0

Machine 3

5

5

0

4

Machine 4

0

1

3

5
22
Job 1

Job 2

Job 3

Job 4

Machine 1

10

0

3

0

Machine 2

0

9

3

0

Machine 3

5

5

0

4

Machine 4

0

1

3

5

23
Assumptions of LP
1. Certainty:


numbers in the objective and constraints are known with
certainty and do not change during the period being
studied

2. Proportionality:



exists in the objective and constraints
constancy between production increases and resource
utilization

3. Additivity:


the total of all activities equals the sum of the individual
activities
24
Assumptions of LP cont…
4. Divisibility:



solutions need not be in whole numbers (integers)
solutions are divisible, and may take any fractional
value

5. Non-negativity:



all answers or variables are greater than or equal to (≥)
zero
negative values of physical quantities are impossible

25
Limitations of LP
•It treats all relationships among decision variables as linear.
•There is no guarantee that we will get integer value
solutions. e.g. 2.5 machines
•LP does not take into consideration the effect of time &
uncertainty.
•In LP parameters are assumed to be constant ; but in real life
situations majority of the times they are neither known nor
constant.
•LP deals with only single objective whereas in real life
conflicting situations may have to be solved.
26
Duality in LP
•In context of LP, duality means each LP problem can be
analyzed in two different ways.
•LP problem can be stated in another equivalent problem based
on the same data and new problem will be called as DUAL.
•The main focus of a dual problem is to find best marginal
value for each resource; also known as Shadow Prize.
•The shadow prize is also defined as change in optimal
objective function value with respect to unit change in
availability of resource.

27
28
REFERENCES
•
•
•
•
•

www.math.ucla.edu/~tom/LP.pdf
www.sce.carleton.ca/faculty/chinneck/po/Chapter2.
www.markschulze.net/LinearProgramming.pdf
web.ntpu.edu.tw/~juang/ms/Ch02.
cmp.felk.cvut.cz/~hlavac/Public/.../Linear%20Progra
mming-1.ppt
• www.slideshare.net/

29
Questions/
Queries?

30
31

Mais conteúdo relacionado

Mais procurados

Dominance method
Dominance methodDominance method
Dominance method
pooja rani
 
Simplex Method
Simplex MethodSimplex Method
Simplex Method
Sachin MK
 
Transportation Problem in Operational Research
Transportation Problem in Operational ResearchTransportation Problem in Operational Research
Transportation Problem in Operational Research
Neha Sharma
 

Mais procurados (20)

LINEAR PROGRAMMING
LINEAR PROGRAMMINGLINEAR PROGRAMMING
LINEAR PROGRAMMING
 
Transportation and Assignment
Transportation and AssignmentTransportation and Assignment
Transportation and Assignment
 
Transportation problems
Transportation problemsTransportation problems
Transportation problems
 
Game theory
Game theoryGame theory
Game theory
 
Assignment model
Assignment modelAssignment model
Assignment model
 
Operational research queuing theory
Operational research queuing theoryOperational research queuing theory
Operational research queuing theory
 
Linear programming
Linear programmingLinear programming
Linear programming
 
History of Operations Research
History of Operations ResearchHistory of Operations Research
History of Operations Research
 
Dominance method
Dominance methodDominance method
Dominance method
 
Applied Operation Research (AOR) Replacement Theory
Applied Operation Research (AOR) Replacement TheoryApplied Operation Research (AOR) Replacement Theory
Applied Operation Research (AOR) Replacement Theory
 
Operation research ppt chapter one
Operation research ppt   chapter oneOperation research ppt   chapter one
Operation research ppt chapter one
 
Simplex Method
Simplex MethodSimplex Method
Simplex Method
 
Unit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisisUnit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisis
 
Operations research-an-introduction
Operations research-an-introductionOperations research-an-introduction
Operations research-an-introduction
 
Operation research and its application
Operation research and its applicationOperation research and its application
Operation research and its application
 
Modi method
Modi methodModi method
Modi method
 
Transportation Problem in Operational Research
Transportation Problem in Operational ResearchTransportation Problem in Operational Research
Transportation Problem in Operational Research
 
Game theory
Game theoryGame theory
Game theory
 
Transportation model and assignment model
Transportation model and assignment modelTransportation model and assignment model
Transportation model and assignment model
 
Operation research history and overview application limitation
Operation research history and overview application limitationOperation research history and overview application limitation
Operation research history and overview application limitation
 

Semelhante a Linear programming

Vcs slides on or 2014
Vcs slides on or 2014Vcs slides on or 2014
Vcs slides on or 2014
Shakti Ranjan
 
linearprogramingproblemlpp-180729145239.pptx
linearprogramingproblemlpp-180729145239.pptxlinearprogramingproblemlpp-180729145239.pptx
linearprogramingproblemlpp-180729145239.pptx
KOUSHIkPIPPLE
 
Mb0048 operations research
Mb0048  operations researchMb0048  operations research
Mb0048 operations research
smumbahelp
 
Mb0048 operations research
Mb0048  operations researchMb0048  operations research
Mb0048 operations research
smumbahelp
 

Semelhante a Linear programming (20)

Mb0048 operations research
Mb0048  operations researchMb0048  operations research
Mb0048 operations research
 
Mb0048 operations research
Mb0048  operations researchMb0048  operations research
Mb0048 operations research
 
Vcs slides on or 2014
Vcs slides on or 2014Vcs slides on or 2014
Vcs slides on or 2014
 
chapter 2 revised.pptx
chapter 2 revised.pptxchapter 2 revised.pptx
chapter 2 revised.pptx
 
chapter 2 revised.pptx
chapter 2 revised.pptxchapter 2 revised.pptx
chapter 2 revised.pptx
 
linearprogramingproblemlpp-180729145239.pptx
linearprogramingproblemlpp-180729145239.pptxlinearprogramingproblemlpp-180729145239.pptx
linearprogramingproblemlpp-180729145239.pptx
 
chapter 2 revised.pptx
chapter 2 revised.pptxchapter 2 revised.pptx
chapter 2 revised.pptx
 
Mb0048 operations research
Mb0048  operations researchMb0048  operations research
Mb0048 operations research
 
LPP FORMULATION 21 -22.pptx
LPP FORMULATION  21 -22.pptxLPP FORMULATION  21 -22.pptx
LPP FORMULATION 21 -22.pptx
 
UNIT-2 Quantitaitive Anlaysis for Mgt Decisions.pptx
UNIT-2 Quantitaitive Anlaysis for Mgt Decisions.pptxUNIT-2 Quantitaitive Anlaysis for Mgt Decisions.pptx
UNIT-2 Quantitaitive Anlaysis for Mgt Decisions.pptx
 
Mb0048 operations research
Mb0048  operations researchMb0048  operations research
Mb0048 operations research
 
Mb0048 operations research
Mb0048  operations researchMb0048  operations research
Mb0048 operations research
 
Mb0048 operations research
Mb0048 operations researchMb0048 operations research
Mb0048 operations research
 
QA CHAPTER II.pptx
QA CHAPTER II.pptxQA CHAPTER II.pptx
QA CHAPTER II.pptx
 
Mb0048 operations research
Mb0048  operations researchMb0048  operations research
Mb0048 operations research
 
Mb0048 operations research
Mb0048  operations researchMb0048  operations research
Mb0048 operations research
 
Mb0048 operations research
Mb0048  operations researchMb0048  operations research
Mb0048 operations research
 
Mb0048 operations research
Mb0048  operations researchMb0048  operations research
Mb0048 operations research
 
04-Unit Four - OR.pptx
04-Unit Four - OR.pptx04-Unit Four - OR.pptx
04-Unit Four - OR.pptx
 
linear programming
linear programming linear programming
linear programming
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 

Linear programming

  • 1. Presented To: Dr. Col (Retd) Manjushree Kumar Presented by: Dr. Aadil Krantee Mrudul Ratish
  • 2. Contents • • • • • • • • • Introduction History Linear programming model formulation Applications Illustration (Diet problem) Assignment problem Assumptions of LP Limitations of LP Duality 2
  • 3. Introduction • Linear Programming is a mathematical modeling technique used to determine a level of operational activity in order to achieve an objective. • Mathematical programming is used to find the best or optimal solution to a problem that requires a decision or set of decisions about how best to use a set of limited resources to achieve a state goal of objectives. 3
  • 4. History of linear programming • It started in 1947 when G. B. Dantzig designed the “simplex method” for solving linear programming formulations of U.S. Air Force planning problems. • It soon became clear that a surprisingly wide range of apparently unrelated problems in production management could be stated in linear programming terms and solved by the simplex method. 4
  • 5. LP Model Formulation • Decision variables – mathematical symbols representing levels of activity of an operation • Objective function – a linear relationship reflecting the objective of an operation – most frequent objective of business firms is to maximize profit – most frequent objective of individual operational units (such as a production or packaging department) is to minimize cost • Constraint – a linear relationship representing a restriction on decision making 5
  • 6. • Steps involved in mathematical programming – Conversion of stated problem into a mathematical model that abstracts all the essential elements of the problem. – Exploration of different solutions of the problem. – Find out the most suitable or optimum solution. • Linear programming requires that all the mathematical functions in the model be linear functions. 6
  • 7. Applications The Importance of Linear Programming • • • • • • • Hospital management Diet management Manufacturing Finance (investment) Advertising Agriculture Military 7
  • 8. Some applications in Hospital management : 1) Incinerators and Pollution Control. (What is the most economical way to make the necessary cutbacks? i.e. sulfur dioxide emissions must be limited to 400,000 units per day and particulate emissions to 50,000 units per day .) 2) Assignments to Hospitals .(draw up a disaster plan for assigning casualties to hospitals in the event of a disaster. How should the victims be assigned to minimize the total time lost in transporting them?) 3) The Diet Problem. (e.g.. The problem is to supply the required nutrients at minimum cost.) 4) The Transportation Problem (e.g..The problem is to meet the hospital or patient requirements at minimum transportation cost.) 8
  • 9. 5) The Activity Analysis Problem. ( e.g.. The problem is to choose the intensities which the various activities are to be operated to maximize the value of the output to the company subject to the given resources.) 6) The Optimal Assignment Problem. ( e.g.. The problem is to choose an assignment of persons to jobs to maximize the total value.) 7) The Product Mix Problem (The company would like to determine how many units of each product it should produce so as to maximize overall profit given its limited resources.) 8) Design of radiation therapy. (e.g.. Radiation therapy beams affects tissues. The goal of the design is to select the combination of beams to be used and the intensity of each one.) 9
  • 10. Illustration 1. Diet problem Question:      A dietician has to develop a special diet using two foods P and Q. Each packet (containing 30 g) of food P contains 12 units of calcium, 4 units of iron, 6 units of cholesterol and 6 units of vitamin A. Each packet of the same quantity of food Q contains 3 units of calcium, 20 units of iron, 4 units of cholesterol and 3 units of vitamin A. The diet requires at least 240 units of calcium, at least 460 units of iron and at most 300 units of cholesterol. How many packets of each food should be used to minimize the amount of vitamin A in the diet? What is the minimum amount of vitamin A? 10
  • 11. Solution: Let x and y be the number of packets of food P and Q respectively. Obviously x ≥ 0, y ≥ 0. Mathematical formulation of the given problem is as follows: Minimize Z = 6x + 3y (vitamin A) subject to the constraints 12x + 3y ≥ 240 (constraint on calcium), i.e. 4x + y ≥ 80 ... (1) 4x + 20y ≥ 460 (constraint on iron.), i.e. x + 5y ≥ 115 ... (2) 6x + 4y ≤ 300 (constraint on cholestérol), i.e. 3x + 2y ≤ 150 ... (3) x ≥ 0, y ≥ 0 ... (4) 11
  • 12. • Let us graph the inequalities (1) to (4).The feasible region (shaded) determined by the constraints (1) to (4) is shown in the figure. • The coordinates of the corner points L, M and N are (2, 72), (15, 20) and (40, 15) respectively. Let us evaluate Z at these points: • From the table, we find that Z is minimum at the point (15, 20). Hence, the amount of vitamin A under the constraints given in the problem will be minimum, if 15 packets of food P and 20 packets of food Q are used in the special diet. The minimum amount of vitamin A will be 150 units. 12
  • 13. Assignment problem • The assignment problem refers to the class of linear programming problems that involve determining the most efficient assignment of assignees to perform tasks.  people to projects  salespeople to territories  contracts to bidders  jobs to machines, etc. • The objective is most often to minimize total costs or total time of performing the tasks at hand. 13
  • 14. • To fit the definition of an assignment problem, these kinds of applications need to be formulated in a way that satisfies the following assumptions. 1.The number of assignees and the number of tasks are the same. (This number is denoted by n.) 2.Each assignee is to be assigned to exactly one task. 3.Each task is to be performed by exactly one assignee. 4.There is a cost cij associated with assignee i (i1, 2,...,n) performing task j (j1, 2, . . . ,n). 5.The objective is to determine how all assignments should be made to minimize the total cost. 14
  • 15. Assignment problem solving methods 1. 2. 3. 4. Hungarian Method Enumeration method Simplex method Transportation 15
  • 16. AP (Hungarian method) Question: We must determine how jobs should be assigned to machines to minimize setup times, which are given below: Job 1 Job 2 Job 3 Job 4 Machine 1 14 5 8 7 Machine 2 2 12 6 5 Machine 3 7 8 3 9 Machine 4 2 4 6 10 16
  • 17. • Step 1: (a) Find the minimum element in each row of the cost matrix. Form a new matrix by subtracting this cost from each row. (b) Find the minimum cost in each column of the new matrix, and subtract this from each column. This is the reduced cost matrix. 17
  • 18. Step 1(a) Job 1 Job 2 Job 3 Job 4 Machine 1 14 5 8 7 Machine 2 2 12 6 5 Machine 3 7 8 3 9 Machine 4 2 4 6 10 Job 1 Job 3 Job 4 Machine 1 Row Reduction Job 2 9 0 3 2 Machine 2 0 10 4 3 Machine 3 4 5 0 6 Machine 4 0 2 4 8 18
  • 19. Step 1(b) Job 1 Job 2 Job 3 Job 4 Machine 1 9 0 3 2 Machine 2 0 10 4 3 Machine 3 4 5 0 6 Machine 4 0 2 4 8 Job 1 Job 2 Job 3 Job 4 Machine 1 9 0 3 0 Machine 2 0 10 4 1 Machine 3 4 5 0 4 Machine 4 0 2 4 6 Column Reduction 19
  • 20. Step 2 Draw the minimum number of lines that are needed to cover all the zeros in the reduced cost matrix. If m lines are required, then an optimal solution is available among the covered zeros in the matrix. Otherwise, continue to Step 3. Job 1 Job 2 Job 3 Job 4 Machine 1 9 0 3 0 Machine 2 0 10 4 1 Machine 3 4 5 0 4 Machine 4 0 2 4 6 20
  • 21. Step 3 Find the smallest nonzero element (say, k) in the reduced cost matrix that is uncovered by the lines. Subtract k from each uncovered element, and add k to each element that is covered by two lines. Return to Step 2. 21
  • 22. Step 4 Job 1 Job 2 Job 3 Job 4 Machine 1 9 0 3 0 Machine 2 0 10 4 1 Machine 3 4 5 0 4 Machine 4 0 2 4 6 Job 1 Job 2 Job 3 Job 4 Machine 1 10 0 3 0 Machine 2 0 9 3 0 Machine 3 5 5 0 4 Machine 4 0 1 3 5 22
  • 23. Job 1 Job 2 Job 3 Job 4 Machine 1 10 0 3 0 Machine 2 0 9 3 0 Machine 3 5 5 0 4 Machine 4 0 1 3 5 23
  • 24. Assumptions of LP 1. Certainty:  numbers in the objective and constraints are known with certainty and do not change during the period being studied 2. Proportionality:   exists in the objective and constraints constancy between production increases and resource utilization 3. Additivity:  the total of all activities equals the sum of the individual activities 24
  • 25. Assumptions of LP cont… 4. Divisibility:   solutions need not be in whole numbers (integers) solutions are divisible, and may take any fractional value 5. Non-negativity:   all answers or variables are greater than or equal to (≥) zero negative values of physical quantities are impossible 25
  • 26. Limitations of LP •It treats all relationships among decision variables as linear. •There is no guarantee that we will get integer value solutions. e.g. 2.5 machines •LP does not take into consideration the effect of time & uncertainty. •In LP parameters are assumed to be constant ; but in real life situations majority of the times they are neither known nor constant. •LP deals with only single objective whereas in real life conflicting situations may have to be solved. 26
  • 27. Duality in LP •In context of LP, duality means each LP problem can be analyzed in two different ways. •LP problem can be stated in another equivalent problem based on the same data and new problem will be called as DUAL. •The main focus of a dual problem is to find best marginal value for each resource; also known as Shadow Prize. •The shadow prize is also defined as change in optimal objective function value with respect to unit change in availability of resource. 27
  • 28. 28
  • 31. 31