Upload
tushar-gupta
View
221
Download
0
Embed Size (px)
Citation preview
8/12/2019 Intro Formulation
1/79
Operations Research (Optimization Problem)
http://find/8/12/2019 Intro Formulation
2/79
Operations Research (Optimization Problem)
Research into operations
http://find/8/12/2019 Intro Formulation
3/79
Operations Research (Optimization Problem)
Research into operations
Allocating limited resources (funds, manpower, time, rawmaterial) among competing activities in the best possiblemanner.
http://find/8/12/2019 Intro Formulation
4/79
Operations Research (Optimization Problem)
Research into operations
Allocating limited resources (funds, manpower, time, rawmaterial) among competing activities in the best possiblemanner.
Search of optimal solution strategy in a given situation.
http://find/8/12/2019 Intro Formulation
5/79
Operations Research (Optimization Problem)
Research into operations
Allocating limited resources (funds, manpower, time, rawmaterial) among competing activities in the best possiblemanner.
Search of optimal solution strategy in a given situation.
Applicable to business operations
Operations Research at Taco BellOperational Cost Control at Kellogg
http://find/8/12/2019 Intro Formulation
6/79
8/12/2019 Intro Formulation
7/79
Optimization Problem
What is an Optimization Problem all about??
http://find/8/12/2019 Intro Formulation
8/79
Optimization Problem
What is an Optimization Problem all about??
Minimizing or Maximizing some Objective subject to certainrestrictions.
http://find/8/12/2019 Intro Formulation
9/79
Optimization Problem
What is an Optimization Problem all about??
Minimizing or Maximizing some Objective subject to certainrestrictions.
Why is an Optimization Problem required??
http://find/8/12/2019 Intro Formulation
10/79
Optimization Problem
What is an Optimization Problem all about??
Minimizing or Maximizing some Objective subject to certainrestrictions.
Why is an Optimization Problem required??
All problems seek to maximize or minimize some quantity (theobjective function).
http://find/8/12/2019 Intro Formulation
11/79
Optimization Problem
What is an Optimization Problem all about??
Minimizing or Maximizing some Objective subject to certainrestrictions.
Why is an Optimization Problem required??
All problems seek to maximize or minimize some quantity (theobjective function).
The presence of restrictions or constraints, limits the degree to
which we can pursue our objective.
http://find/8/12/2019 Intro Formulation
12/79
Optimization Problem
What is an Optimization Problem all about??
Minimizing or Maximizing some Objective subject to certainrestrictions.
Why is an Optimization Problem required??
All problems seek to maximize or minimize some quantity (theobjective function).
The presence of restrictions or constraints, limits the degree to
which we can pursue our objective.
There must be alternative courses of action to choose from.
http://find/8/12/2019 Intro Formulation
13/79
Optimization Problem:(Mathematically)
http://find/http://goback/8/12/2019 Intro Formulation
14/79
Optimization Problem:(Mathematically)
Return function: F(X), X Rn
Constraint functions: gi(X), i= 1, 2, . . . , n
http://find/8/12/2019 Intro Formulation
15/79
Optimization Problem:(Mathematically)
Return function: F(X), X Rn
Constraint functions: gi(X), i= 1, 2, . . . , n
Linear Program:
http://find/http://goback/8/12/2019 Intro Formulation
16/79
Optimization Problem:(Mathematically)
Return function: F(X), X Rn
Constraint functions: gi(X), i= 1, 2, . . . , n
Linear Program:
All functions are linear = linear relationship
http://find/8/12/2019 Intro Formulation
17/79
Optimization Problem:(Mathematically)
Return function: F(X), X Rn
Constraint functions: gi(X), i= 1, 2, . . . , n
Linear Program:
All functions are linear = linear relationship
What do we mean by linear?
http://find/http://goback/8/12/2019 Intro Formulation
18/79
Optimization Problem:(Mathematically)
Return function: F(X), X Rn
Constraint functions: gi(X), i= 1, 2, . . . , n
Linear Program:
All functions are linear = linear relationship
What do we mean by linear?
Linear:
Things are proportional
Double the production:Profit gets doubledRaw material consumption is doubled
http://find/8/12/2019 Intro Formulation
19/79
Example
Two Products (A and B)
http://find/8/12/2019 Intro Formulation
20/79
Example
Two Products (A and B)
Each requires two raw materials (P and Q)
One ton of A needs 2 tons of P, 4 tons of QOne ton of B needs 3 tons of P, 2 tons of Q
http://find/8/12/2019 Intro Formulation
21/79
Example
Two Products (A and B)
Each requires two raw materials (P and Q)
One ton of A needs 2 tons of P, 4 tons of QOne ton of B needs 3 tons of P, 2 tons of Q
Raw material availability is limited 6 tons of P, 9 tons of Q
http://find/8/12/2019 Intro Formulation
22/79
Example
Two Products (A and B)
Each requires two raw materials (P and Q)
One ton of A needs 2 tons of P, 4 tons of QOne ton of B needs 3 tons of P, 2 tons of Q
Raw material availability is limited 6 tons of P, 9 tons of Q
Each product yields different profit/ton
A: Rs. 400 per tonB: Rs. 500 per ton
http://find/8/12/2019 Intro Formulation
23/79
Example
Two Products (A and B)
Each requires two raw materials (P and Q)
One ton of A needs 2 tons of P, 4 tons of QOne ton of B needs 3 tons of P, 2 tons of Q
Raw material availability is limited 6 tons of P, 9 tons of Q
Each product yields different profit/ton
A: Rs. 400 per tonB: Rs. 500 per ton
? Problem: How much of each product should beproduced so that Total Profit is maximized
http://goforward/http://find/http://goback/8/12/2019 Intro Formulation
24/79
Elements of a Linear Programming Model
http://find/http://goback/8/12/2019 Intro Formulation
25/79
Elements of a Linear Programming Model
Decision VariablesQuantities whose values the management wants to decide
http://find/8/12/2019 Intro Formulation
26/79
Elements of a Linear Programming Model
Decision VariablesQuantities whose values the management wants to decidex1: tons of product A to producex2: tons of product B to produce
http://find/8/12/2019 Intro Formulation
27/79
Elements of a Linear Programming Model
Decision VariablesQuantities whose values the management wants to decidex1: tons of product A to producex2: tons of product B to produce
Parameters (Problem Data)Quantities that cannot be changed by management
http://find/8/12/2019 Intro Formulation
28/79
8/12/2019 Intro Formulation
29/79
Objective FunctionA mathematical function of decision variables, whose value
the management wishes to minimize or maximize (bycontrolling the values of decision variables)
http://goforward/http://find/http://goback/8/12/2019 Intro Formulation
30/79
Objective FunctionA mathematical function of decision variables, whose value
the management wishes to minimize or maximize (bycontrolling the values of decision variables)Maximize Z= 400x1+ 500x2
http://find/8/12/2019 Intro Formulation
31/79
Objective FunctionA mathematical function of decision variables, whose value
the management wishes to minimize or maximize (bycontrolling the values of decision variables)Maximize Z= 400x1+ 500x2
Constraints
Restrictions under which the decision must be taken
http://goforward/http://find/http://goback/8/12/2019 Intro Formulation
32/79
Objective FunctionA mathematical function of decision variables, whose value
the management wishes to minimize or maximize (bycontrolling the values of decision variables)Maximize Z= 400x1+ 500x2
Constraints
Restrictions under which the decision must be takenRequirement Availability
2x1+ 3x2 6 (availability of P)4x1+ 2x2 9 (availability of Q)
http://goforward/http://find/http://goback/8/12/2019 Intro Formulation
33/79
Objective FunctionA mathematical function of decision variables, whose value
the management wishes to minimize or maximize (bycontrolling the values of decision variables)Maximize Z= 400x1+ 500x2
Constraints
Restrictions under which the decision must be takenRequirement Availability
2x1+ 3x2 6 (availability of P)4x1+ 2x2 9 (availability of Q)
Produced quantities can not be negative
x1, x2 0 (Non-negativity)
C
http://goforward/http://find/http://goback/8/12/2019 Intro Formulation
34/79
Complete Model
Maximize 400x1+ 500x2Subject to 2x1+ 3x2 6
4x1+ 2x2 9x1, x2 0
The above is a mathematical formulation of the problem (LPP).
C l M d l
http://find/8/12/2019 Intro Formulation
35/79
Complete Model
Maximize 400x1+ 500x2Subject to 2x1+ 3x2 6
4x1+ 2x2 9x1, x2 0
The above is a mathematical formulation of the problem (LPP).
Study and Explore the mathematical structure.
http://find/8/12/2019 Intro Formulation
36/79
C l t M d l
8/12/2019 Intro Formulation
37/79
Complete Model
Maximize 400x1+ 500x2Subject to 2x1+ 3x2 6
4x1+ 2x2 9x1, x2 0
The above is a mathematical formulation of the problem (LPP).
Study and Explore the mathematical structure.
Learn how to formulate real life problems as LPs Learn techniques for solving it.
Li P i A ti
http://goforward/http://find/http://goback/8/12/2019 Intro Formulation
38/79
Linear Programming Assumptions
Li ea P og a i g Ass tio s
http://find/8/12/2019 Intro Formulation
39/79
Linear Programming Assumptions
Problem data is known exactly (deterministic)
Linear Programming Assumptions
http://find/8/12/2019 Intro Formulation
40/79
Linear Programming Assumptions
Problem data is known exactly (deterministic)
All variables can assume any real value (continuous variables)
Linear Programming Assumptions
http://find/8/12/2019 Intro Formulation
41/79
Linear Programming Assumptions
Problem data is known exactly (deterministic)
All variables can assume any real value (continuous variables)
All variables are non-negative
Linear Programming Assumptions
http://goforward/http://find/http://goback/8/12/2019 Intro Formulation
42/79
Linear Programming Assumptions
Problem data is known exactly (deterministic)
All variables can assume any real value (continuous variables)
All variables are non-negative
All relationship between variables are linear:
Linear Programming Assumptions
http://goforward/http://find/http://goback/8/12/2019 Intro Formulation
43/79
Linear Programming Assumptions
Problem data is known exactly (deterministic)
All variables can assume any real value (continuous variables)
All variables are non-negative
All relationship between variables are linear:Programming??
Not to be confused with computer programming!!!
Linear Programming Assumptions
http://goforward/http://find/http://goback/8/12/2019 Intro Formulation
44/79
Linear Programming Assumptions
Problem data is known exactly (deterministic)
All variables can assume any real value (continuous variables)
All variables are non-negative
All relationship between variables are linear:Programming??
Not to be confused with computer programming!!!It is the systematic Planning of activities.
Linear Programming Assumptions
http://goforward/http://find/http://goback/8/12/2019 Intro Formulation
45/79
Linear Programming Assumptions
Problem data is known exactly (deterministic)
All variables can assume any real value (continuous variables)
All variables are non-negative
All relationship between variables are linear:Programming??
Not to be confused with computer programming!!!It is the systematic Planning of activities.
Linear Programming: The problem of planning the activities tooptimize a linear objective function subject to linear constraints.
Formulation of a Linear Program
http://find/8/12/2019 Intro Formulation
46/79
Formulation of a Linear Program
Translating a verbal description of the problem into an equivalentmathematical description
Formulation of a Linear Program
http://find/8/12/2019 Intro Formulation
47/79
Formulation of a Linear Program
Translating a verbal description of the problem into an equivalentmathematical description
1 Identify Decision variables
2 Identify objective function
3 Identify constraints
Formulation of a Linear Program
http://goforward/http://find/http://goback/8/12/2019 Intro Formulation
48/79
Formulation of a Linear Program
Translating a verbal description of the problem into an equivalentmathematical description
1 Identify Decision variables
2 Identify objective function
3 Identify constraints
More of an Art than a Science.
Takes practice and experience to formulate correctly and efficiently.
New Venture Finance
http://find/8/12/2019 Intro Formulation
49/79
Need to raise 50 lakhs
New Venture Finance
http://find/8/12/2019 Intro Formulation
50/79
Need to raise 50 lakhs
Upto 20 lakhs in bonds @12%
http://find/8/12/2019 Intro Formulation
51/79
New Venture Finance
8/12/2019 Intro Formulation
52/79
Need to raise 50 lakhs
Upto 20 lakhs in bonds @12%
Fin. Corp. A: 30 lakhs @18%Condition: Bond debt + loan from B loan from A
Fin. Corp. B: (@16%)Condition: loan amt. not to exceed the loan from A
New Venture Finance
http://find/8/12/2019 Intro Formulation
53/79
Need to raise 50 lakhs
Upto 20 lakhs in bonds @12%
Fin. Corp. A: 30 lakhs @18%Condition: Bond debt + loan from B loan from A
Fin. Corp. B: (@16%)Condition: loan amt. not to exceed the loan from A
Decision variables:x1: bond debt, x2: loan from A, x3: loan from B
New Venture Finance
http://find/8/12/2019 Intro Formulation
54/79
Need to raise 50 lakhs
Upto 20 lakhs in bonds @12%
Fin. Corp. A: 30 lakhs @18%Condition: Bond debt + loan from B loan from A
Fin. Corp. B: (@16%)Condition: loan amt. not to exceed the loan from A
Decision variables:x1: bond debt, x2: loan from A, x3: loan from B
Objective: Minimize 12x1+ 18x2+ 16x3
New Venture Finance
http://find/8/12/2019 Intro Formulation
55/79
Need to raise 50 lakhs
Upto 20 lakhs in bonds @12%
Fin. Corp. A: 30 lakhs @18%Condition: Bond debt + loan from B loan from A
Fin. Corp. B: (@16%)Condition: loan amt. not to exceed the loan from A
Decision variables:x1: bond debt, x2: loan from A, x3: loan from B
Objective: Minimize 12x1+ 18x2+ 16x3
Constraints:
x1+ x2+ x3 50 (Required Amount)
New Venture Finance
http://goforward/http://find/http://goback/8/12/2019 Intro Formulation
56/79
Need to raise 50 lakhs
Upto 20 lakhs in bonds @12%
Fin. Corp. A: 30 lakhs @18%Condition: Bond debt + loan from B loan from A
Fin. Corp. B: (@16%)Condition: loan amt. not to exceed the loan from A
Decision variables:x1: bond debt, x2: loan from A, x3: loan from B
Objective: Minimize 12x1+ 18x2+ 16x3
Constraints:
x1
+ x2
+ x3
50 (Required Amount)x1 20 (Bond Debt)
New Venture Finance
http://goforward/http://find/http://goback/8/12/2019 Intro Formulation
57/79
Need to raise 50 lakhs
Upto 20 lakhs in bonds @12%
Fin. Corp. A: 30 lakhs @18%Condition: Bond debt + loan from B loan from A
Fin. Corp. B: (@16%)Condition: loan amt. not to exceed the loan from A
Decision variables:x1: bond debt, x2: loan from A, x3: loan from B
Objective: Minimize 12x1+ 18x2+ 16x3
Constraints:
x1
+ x2
+ x3
50 (Required Amount)x1 20 (Bond Debt)x2 30 (Loan from A)
New Venture Finance
http://find/8/12/2019 Intro Formulation
58/79
Need to raise 50 lakhs
Upto 20 lakhs in bonds @12%
Fin. Corp. A: 30 lakhs @18%Condition: Bond debt + loan from B loan from A
Fin. Corp. B: (@16%)Condition: loan amt. not to exceed the loan from A
Decision variables:x1: bond debt, x2: loan from A, x3: loan from B
Objective: Minimize 12x1+ 18x2+ 16x3
Constraints:x1
+x2
+x3 50 (Required Amount)x1 20 (Bond Debt)
x2 30 (Loan from A)x1+ x3 x2 (Condition of Fin. Inst. A)
New Venture Finance
http://find/8/12/2019 Intro Formulation
59/79
Need to raise 50 lakhs
Upto 20 lakhs in bonds @12%
Fin. Corp. A: 30 lakhs @18%Condition: Bond debt + loan from B loan from A
Fin. Corp. B: (@16%)Condition: loan amt. not to exceed the loan from A
Decision variables:x1: bond debt, x2: loan from A, x3: loan from B
Objective: Minimize 12x1+ 18x2+ 16x3
Constraints:x1
+x2
+x3
50 (Required Amount)x1 20 (Bond Debt)x2 30 (Loan from A)
x1+ x3 x2 (Condition of Fin. Inst. A)x3 x2 (Loan from B)
New Venture Finance
http://find/8/12/2019 Intro Formulation
60/79
Need to raise 50 lakhs
Upto 20 lakhs in bonds @12%
Fin. Corp. A: 30 lakhs @18%Condition: Bond debt + loan from B loan from A
Fin. Corp. B: (@16%)Condition: loan amt. not to exceed the loan from A
Decision variables:x1: bond debt, x2: loan from A, x3: loan from B
Objective: Minimize 12x1+ 18x2+ 16x3
Constraints:x1
+x2
+x3
50 (Required Amount)x1 20 (Bond Debt)x2 30 (Loan from A)
x1+ x3 x2 (Condition of Fin. Inst. A)x3 x2 (Loan from B)
x1, x2, x3 0 (Non-negativity constraints)
A Job-Training Problem
http://find/8/12/2019 Intro Formulation
61/79
Trained Machinist:Work a machineTeachStay idle
A Job-Training Problem
http://find/8/12/2019 Intro Formulation
62/79
Trained Machinist:Work a machineTeachStay idle
Decision variables:
x1: trained machinist teaching in Januaryx2: trained machinist idle in Januaryx3: trained machinist teaching in Februaryx4: trained machinist idle in Februaryx5: trained machinist teaching in Marchx6: trained machinist idle in March
A Job-Training Problem
http://goforward/http://find/http://goback/8/12/2019 Intro Formulation
63/79
Trained Machinist:Work a machineTeachStay idle
Decision variables:
x1: trained machinist teaching in Januaryx2: trained machinist idle in Januaryx3: trained machinist teaching in Februaryx4: trained machinist idle in Februaryx5: trained machinist teaching in Marchx6: trained machinist idle in March
Machining + Teaching + Idle = Trained machinists available
A Job-Training Problem
http://find/8/12/2019 Intro Formulation
64/79
Constraints:
100 + x1+ x2 = 130 (Jan)150 + x3+ x4 = 130 + 7x1 (Feb)200 + x5+ x6 = 130 + 7x1+ 7x3 (Mar)
130 + 7x1+ 7x3+ 7x5 = 250 (Apr)
A Job-Training Problem
http://find/8/12/2019 Intro Formulation
65/79
Constraints:
100 + x1+ x2 = 130 (Jan)150 + x3+ x4 = 130 + 7x1 (Feb)200 + x5+ x6 = 130 + 7x1+ 7x3 (Mar)
130 + 7x1+ 7x3+ 7x5 = 250 (Apr)
Objective:Minimize 400(10x1+ 10x3+ 10x5) + 700(x1+ x3+ x5)+500(x2+ x4+ x6)
A Job-Training Problem
http://goforward/http://find/http://goback/8/12/2019 Intro Formulation
66/79
Constraints:
100 + x1+ x2 = 130 (Jan)150 + x3+ x4 = 130 + 7x1 (Feb)200 + x5+ x6 = 130 + 7x1+ 7x3 (Mar)
130 + 7x1+ 7x3+ 7x5 = 250 (Apr)
Objective:Minimize 400(10x1+ 10x3+ 10x5) + 700(x1+ x3+ x5)+500(x2+ x4+ x6) +700(100 + 150 + 200)
A Job-Training Problem
http://goforward/http://find/http://goback/8/12/2019 Intro Formulation
67/79
Constraints:
100 + x1+ x2 = 130 (Jan)150 + x3+ x4 = 130 + 7x1 (Feb)200 + x5+ x6 = 130 + 7x1+ 7x3 (Mar)
130 + 7x1+ 7x3+ 7x5 = 250 (Apr)
Objective:Minimize 400(10x1+ 10x3+ 10x5) + 700(x1+ x3+ x5)+500(x2+ x4+ x6) +700(100 + 150 + 200)
Non-Negativity:x1, x2, x3, x4, x5, x6 0
Investment Planning
http://find/8/12/2019 Intro Formulation
68/79
Scheme A: x1 x4Scheme B: x5 x7Scheme C: x8Scheme D: x9
http://goforward/http://find/http://goback/8/12/2019 Intro Formulation
69/79
Investment Planning
8/12/2019 Intro Formulation
70/79
Scheme A: x1 x4Scheme B: x5 x7Scheme C: x8Scheme D: x9
Objective:Maximize 1.4x4+ 1.7x7+ 1.9x8+ 1.3x9
Constraints:
x1+ x5 60000 Year 1
http://find/8/12/2019 Intro Formulation
71/79
Investment Planning
8/12/2019 Intro Formulation
72/79
Scheme A: x1 x4Scheme B: x5 x7Scheme C: x8Scheme D: x9
Objective:Maximize 1.4x4+ 1.7x7+ 1.9x8+ 1.3x9
Constraints:
x1+ x5 60000 Year 1x2+ x6+ x8 60000 (x1+ x5) Year 2
x3+ x7 60000 (x1+ x5+ x2+ x6+ x8) + 1.4x1 Year 3
Investment Planning
http://find/8/12/2019 Intro Formulation
73/79
Scheme A: x1 x4Scheme B: x5 x7Scheme C: x8Scheme D: x9
Objective:Maximize 1.4x4+ 1.7x7+ 1.9x8+ 1.3x9
Constraints:
x1+ x5 60000 Year 1x2+ x6+ x8 60000 (x1+ x5) Year 2
x3+ x7 60000 (x1+ x5+ x2+ x6+ x8) + 1.4x1 Year 3
x4 60000 (x1+ x5+ x2+ x6+ x8+ x3+ x7)+1.4x1+ 1.4x2+ 1.7x5 Year 4
http://find/8/12/2019 Intro Formulation
74/79
Roster Planning
Decision variables: xij
8/12/2019 Intro Formulation
75/79
Decision variables: xijThe number of workers start working on day i(i= 1, . . . , 7) in shift
j(j = 1, 2, 3)
Roster Planning
Decision variables: xij
http://find/8/12/2019 Intro Formulation
76/79
Decision variables: xijThe number of workers start working on day i(i= 1, . . . , 7) in shift
j(j = 1, 2, 3)Constraints:
7
i=1
3
j=1
xij 60 (No of Workers)
Roster Planning
Decision variables: xij
http://find/8/12/2019 Intro Formulation
77/79
Decision variables: xijThe number of workers start working on day i(i= 1, . . . , 7) in shift
j(j = 1, 2, 3)Constraints:
7
i=1
3
j=1
xij 60 (No of Workers)
x1j +x7j +x6j +x5j D1j j = 1, 2, 3 (Monday)
http://find/8/12/2019 Intro Formulation
78/79
Roster Planning
Decision variables: xij
8/12/2019 Intro Formulation
79/79
ij
The number of workers start working on day i(i= 1, . . . , 7) in shift
j(j = 1, 2, 3)Constraints:
7
i=1
3
j=1
xij 60 (No of Workers)
x1j +x7j +x6j +x5j D1j j = 1, 2, 3 (Monday)
x2j +x1j +x7j +x6j D2j j = 1, 2, 3 (Tuesday)x3j +x2j +x1j +x7j D3j j = 1, 2, 3 (Wednesday)x4j +x3j +x2j +x1j D4j j = 1, 2, 3 (Thursday)x5j +x4j +x3j +x2j D5j j = 1, 2, 3 (Friday)x6j +x5j +x4j +x3j D6j j = 1, 2, 3 (Saturday)x7j +x6j +x5j +x4j D7j j = 1, 2, 3 (Sunday)
xij 0
Dij is the number of workers required on day i and shift period j
Objective Function: Minimize7
i=1
3
j=1
xij
http://find/