SlideShare une entreprise Scribd logo
1  sur  21
LP Quizzes 4 to 8
Professor Ed Dansereau
Decision Variables
The two decision variables are the number of social media and newspaper ads.
Decision variables represent what management control. We can decide how
many of each to run.
X1 = Newspaper
X2 = Social Media
All other expressions (OF and Constraints are defined in terms of decision
variables).
Objective Function
Objective: Maximize Profit
Objective Function: How much profit from each of our decision variables.
$4 profit from Newspapers
$2 profit from Social Media
So
Zmax = 4X1 + 2X2
Constraints
Constraints are limitations, we can only dream of having unlimited resources
such as time and money.
For Budget Constraint
We have a maximum of 240 dollars, we could use 200 dollars but can not
spend 250. Our limitation is less than or equal to 240 dollars.
Each newspaper ad consumes $3 and each social media $1
Budget → 3X1 + 1X1 <= 240
Constraints continued
Work-Hour constraint
A maximum of 100 hours are available. Each Newspaper consumes 1 hour and
each social media 2.5 hours.
X1 + 2.5X2 <= 100
Graph
Each constraint is Linear - a straight line. To graph we take advantage of the
straight lines and that the axis of any variable equals zero. The horizontal axis
is X1 and the Vertical is X2.
Budget
X1 → set X2 = 0, X1 + 2.5(0) <= 100, solve for X1, X1 = 100
X2 → set X1 = 0, 1(0) + 2.5X2 = 100, X2 = 40
Work Hours
Graph
Feasible Region
Feasible Region - the area limited by the
constraints.
Since our constraints are less than or equal to,
the feasible region is area below both lines.
Note that for most of the graph the binding
constraint is the blue line, after the point (76.9,
9.2) the binding constraint is the red line. All LP
problems assume greater than zero, so the axis
represents the other boundaries (you would not
do a project if your profits were negative).
Feasible Region
Extreme Points
Extreme Points are the points at the edges of
the feasible region. With two constraints there
are four extreme points, there can be more if
there are additional constraints.
Our extreme points are (the labels are arbitrary)
A: (0,0)
B: (0,40)
C: (76.9, 9.2)
Extreme Points
Optimal Solution
Any point within the feasible area is a solution
and will provide some measure of profit or at
least break-even
The Optimal Solution is the point that provides
the maximum profit given our constraints. In
Linear Programming it will always be one of the
extreme points regardless if the objective is to
maximizing profit or minimizing costs.
Put Coordinates of extreme points into
Objective Function to determine Maximum
Profit or Minimum Cost (Max profit in our
example).
Zmax = 4X1 + 2X2
Za (0,0) = 4(0)+ 2(0) = 0
Zb (0,40) = 4(0) +2(40) =40
Zc (76.9, 9.2) = 4(76.9) + 2(9.2) = 326Optimal Solution
Binding and Slack
A BINDING constraints limits the optimal
solution.
Slack is extra capacity.
For example the Budget constraint has slack up
until it intersects with the Work Hour constraint.
After that point, the Budget constraint is
binding.
Finding the intersection of two lines
There are three ways to determine the
intersection of two lines:
1. Estimate, take your best guess by looking
at graph, for our example I would guess
(77,10).
2. Simultaneous Solution
3. Mathematical Method
Simultaneous Solution
1. Write out the two linear lines, the constraint equations
2. Solve for one variable in terms of the other for first equation
3. Substitute solution into second equation, which will result a solution for
one variable
4. Solve for second variable
Simultaneous Solution
1. Write out two linear lines
a. Work Hours → X1 + 2.5X2 <= 100
b. Budget → 3X1 + X2 <= 240
2. Solve for one variable in terms of the other for first equation
a. X1 + 2.5X2 = 100, so X1 = 100 - 2.5X2
b. Solve for any variable in either equation. I choose Work Hours and the variable X1 because
the math was easy. With a coefficient of 1, (240-2.5X2)/1 = (240-2.5X2). You do not even
need a calculator for that!
Simultaneous Solution
3. Substitute solution into second equation, which will result a solution for one
variable
a. Budget → 3X1 + X2 <= 240
b. Work Hours → X1 = 100 - 2.5X2
c. Sub work hours into Budget → 3(100-2.5X2) + X2 = 240
i. 300 - 7.5X2 +x2 =240
ii. -6.5X2 = 240 - 300
Simultaneous Solution
4. Solve for second variable
X2 = 9.27
3X1 + X2 = 240 (either equation will work)
3X1 + 9.27 = 240
X1 = (240 - 9.27) / 3
X1 = 76.92, solution for second variable
Multiplication Method
In this method we try to eliminate one variable but multiplying by an inverse
(negative number).
1. Look at your two linear lines (constraints) and choose a variable to
eliminate. I look for a number that is easy to multiple.
2. Multiple the other equation by the inverse.
3. Add two equations together and solve for first variable.
4. Solve for second variable
Multiplication Method
1. Look at your two linear lines (constraints) and choose a variable to
eliminate
a. Budget → 3X1 + 1X2 <= 240
b. Hours → 1X1 + 2.5X2 <= 100
c. The X1 in budget is three times the X1 in hours, so I choose to multiple the Work Hours
constraint by inverse, or simply -3.
2. Multiple the other equation by the inverse
a. Hours → -3(1X1 +2.5X2 = 100),
Multiplication Method
3. Add two equations together and solve for first variable.
3X1 + 1X2 = 240
+ -3X1 - 7.5X2 = -300
= 0X1 - 6.5X2 = -60
X2 = (-60)/(-6.5)
X2 = 9.23 (Does this number look familiar?)
Multiplication Method
4. Solve for second variable
X2 = 9.23
Budget → 3X1 + 1X2 <= 240, you may choose either equation
3X1 + 9.23 = 240
X1 = (240 -9.23) / 3
X1 = 76.92
Finding the intersection of two lines
Both the Simultaneous Solution and Mathematical Method produce the same
solution for X1 and X2 (76.92, 9.23).
These coordinates are the point on the graph where the two lines intersect.
Yes, you need to learn both methods.
We will use the Mathematical Method in the next section.

Contenu connexe

Tendances (20)

Linear Programming (graphical method)
Linear Programming (graphical method)Linear Programming (graphical method)
Linear Programming (graphical method)
 
Operations Research - Sensitivity Analysis
Operations Research - Sensitivity AnalysisOperations Research - Sensitivity Analysis
Operations Research - Sensitivity Analysis
 
Formulation Lpp
Formulation  LppFormulation  Lpp
Formulation Lpp
 
Decision Theory
Decision TheoryDecision Theory
Decision Theory
 
Duality in Linear Programming
Duality in Linear ProgrammingDuality in Linear Programming
Duality in Linear Programming
 
Concepts of Maxima And Minima
Concepts of Maxima And MinimaConcepts of Maxima And Minima
Concepts of Maxima And Minima
 
Game theory
Game theoryGame theory
Game theory
 
Linear programming ppt
Linear programming pptLinear programming ppt
Linear programming ppt
 
Linear programming graphical method (feasibility)
Linear programming   graphical method (feasibility)Linear programming   graphical method (feasibility)
Linear programming graphical method (feasibility)
 
An Introduction to Linear Programming
An Introduction to Linear ProgrammingAn Introduction to Linear Programming
An Introduction to Linear Programming
 
Linear programming
Linear programmingLinear programming
Linear programming
 
decision tree analysis Er. S Sood
decision tree analysis Er. S Sooddecision tree analysis Er. S Sood
decision tree analysis Er. S Sood
 
Render03 140622012601-phpapp02 (1)
Render03 140622012601-phpapp02 (1)Render03 140622012601-phpapp02 (1)
Render03 140622012601-phpapp02 (1)
 
Decision analysis ppt @ bec doms
Decision analysis ppt @ bec domsDecision analysis ppt @ bec doms
Decision analysis ppt @ bec doms
 
Introduction to Operation Research
Introduction to Operation ResearchIntroduction to Operation Research
Introduction to Operation Research
 
Linear programming
Linear programmingLinear programming
Linear programming
 
Linear programming graphical method
Linear programming graphical methodLinear programming graphical method
Linear programming graphical method
 
Decision theory
Decision theoryDecision theory
Decision theory
 
Ppt on decision theory
Ppt on decision theoryPpt on decision theory
Ppt on decision theory
 
Big m method
Big m methodBig m method
Big m method
 

En vedette

En vedette (8)

Linear programming
Linear programmingLinear programming
Linear programming
 
Math
MathMath
Math
 
Linear Programming Quiz
Linear Programming QuizLinear Programming Quiz
Linear Programming Quiz
 
Linear Programming Module- A Conceptual Framework
Linear Programming Module- A Conceptual FrameworkLinear Programming Module- A Conceptual Framework
Linear Programming Module- A Conceptual Framework
 
Price discrimination – Background note – OECD Competition Division - November...
Price discrimination – Background note – OECD Competition Division - November...Price discrimination – Background note – OECD Competition Division - November...
Price discrimination – Background note – OECD Competition Division - November...
 
Price discrimination – Dennis CARLTON – University of Chicago Booth School – ...
Price discrimination – Dennis CARLTON – University of Chicago Booth School – ...Price discrimination – Dennis CARLTON – University of Chicago Booth School – ...
Price discrimination – Dennis CARLTON – University of Chicago Booth School – ...
 
Linear programing
Linear programingLinear programing
Linear programing
 
Linear Programming
Linear ProgrammingLinear Programming
Linear Programming
 

Similaire à Linear Programming Quiz Solution

Quantitativetechniqueformanagerialdecisionlinearprogramming 090725035417-phpa...
Quantitativetechniqueformanagerialdecisionlinearprogramming 090725035417-phpa...Quantitativetechniqueformanagerialdecisionlinearprogramming 090725035417-phpa...
Quantitativetechniqueformanagerialdecisionlinearprogramming 090725035417-phpa...kongara
 
Chapter 2 Linear Programming for business (1).pptx
Chapter 2 Linear Programming for business (1).pptxChapter 2 Linear Programming for business (1).pptx
Chapter 2 Linear Programming for business (1).pptxanimutsileshe1
 
Introduction to Operations Research/ Management Science
Introduction to Operations Research/ Management Science Introduction to Operations Research/ Management Science
Introduction to Operations Research/ Management Science um1222
 
Integer Linear Programming
Integer Linear ProgrammingInteger Linear Programming
Integer Linear ProgrammingSukhpalRamanand
 
Management Science
Management ScienceManagement Science
Management Sciencelisa1090
 
Linear programming manzoor nabi
Linear programming  manzoor nabiLinear programming  manzoor nabi
Linear programming manzoor nabiManzoor Wani
 
Mathematics For Management CHAPTER THREE PART I.PPT
Mathematics For Management  CHAPTER THREE PART I.PPTMathematics For Management  CHAPTER THREE PART I.PPT
Mathematics For Management CHAPTER THREE PART I.PPTAYNETUTEREFE1
 
Mathematical linear programming notes
Mathematical linear programming notesMathematical linear programming notes
Mathematical linear programming notesTarig Gibreel
 
Integer programming branch and bound
Integer programming   branch and boundInteger programming   branch and bound
Integer programming branch and boundAlejandro Angulo
 
OR CHAPTER TWO II.PPT
OR CHAPTER  TWO II.PPTOR CHAPTER  TWO II.PPT
OR CHAPTER TWO II.PPTAynetuTerefe2
 
Chapter 4 Simplex Method ppt
Chapter 4  Simplex Method pptChapter 4  Simplex Method ppt
Chapter 4 Simplex Method pptDereje Tigabu
 
Operation research - Chapter 01
Operation research - Chapter 01Operation research - Chapter 01
Operation research - Chapter 012013901097
 
LPP, Duality and Game Theory
LPP, Duality and Game TheoryLPP, Duality and Game Theory
LPP, Duality and Game TheoryPurnima Pandit
 
Lecture - Linear Programming.pdf
Lecture - Linear Programming.pdfLecture - Linear Programming.pdf
Lecture - Linear Programming.pdflucky141651
 

Similaire à Linear Programming Quiz Solution (20)

Quantitativetechniqueformanagerialdecisionlinearprogramming 090725035417-phpa...
Quantitativetechniqueformanagerialdecisionlinearprogramming 090725035417-phpa...Quantitativetechniqueformanagerialdecisionlinearprogramming 090725035417-phpa...
Quantitativetechniqueformanagerialdecisionlinearprogramming 090725035417-phpa...
 
Chapter 2 Linear Programming for business (1).pptx
Chapter 2 Linear Programming for business (1).pptxChapter 2 Linear Programming for business (1).pptx
Chapter 2 Linear Programming for business (1).pptx
 
LPP.pptx
LPP.pptxLPP.pptx
LPP.pptx
 
Introduction to Operations Research/ Management Science
Introduction to Operations Research/ Management Science Introduction to Operations Research/ Management Science
Introduction to Operations Research/ Management Science
 
Integer Linear Programming
Integer Linear ProgrammingInteger Linear Programming
Integer Linear Programming
 
Graphical method
Graphical methodGraphical method
Graphical method
 
Management Science
Management ScienceManagement Science
Management Science
 
Advance algebra
Advance algebraAdvance algebra
Advance algebra
 
linear programming
linear programming linear programming
linear programming
 
Linear programming manzoor nabi
Linear programming  manzoor nabiLinear programming  manzoor nabi
Linear programming manzoor nabi
 
Mathematics For Management CHAPTER THREE PART I.PPT
Mathematics For Management  CHAPTER THREE PART I.PPTMathematics For Management  CHAPTER THREE PART I.PPT
Mathematics For Management CHAPTER THREE PART I.PPT
 
Mathematical linear programming notes
Mathematical linear programming notesMathematical linear programming notes
Mathematical linear programming notes
 
Integer programming branch and bound
Integer programming   branch and boundInteger programming   branch and bound
Integer programming branch and bound
 
OR CHAPTER TWO II.PPT
OR CHAPTER  TWO II.PPTOR CHAPTER  TWO II.PPT
OR CHAPTER TWO II.PPT
 
Chapter 4 Simplex Method ppt
Chapter 4  Simplex Method pptChapter 4  Simplex Method ppt
Chapter 4 Simplex Method ppt
 
Unit.2. linear programming
Unit.2. linear programmingUnit.2. linear programming
Unit.2. linear programming
 
Operation research - Chapter 01
Operation research - Chapter 01Operation research - Chapter 01
Operation research - Chapter 01
 
Management Science
Management Science Management Science
Management Science
 
LPP, Duality and Game Theory
LPP, Duality and Game TheoryLPP, Duality and Game Theory
LPP, Duality and Game Theory
 
Lecture - Linear Programming.pdf
Lecture - Linear Programming.pdfLecture - Linear Programming.pdf
Lecture - Linear Programming.pdf
 

Plus de Ed Dansereau

Social media in job search
Social media in job searchSocial media in job search
Social media in job searchEd Dansereau
 
Social media use in job search
Social media use in job searchSocial media use in job search
Social media use in job searchEd Dansereau
 
Marketing management orientation philosophies
Marketing management orientation philosophiesMarketing management orientation philosophies
Marketing management orientation philosophiesEd Dansereau
 
Basic Business Forecasting
Basic Business ForecastingBasic Business Forecasting
Basic Business ForecastingEd Dansereau
 
Simplex part 3 of 4
Simplex part 3 of 4Simplex part 3 of 4
Simplex part 3 of 4Ed Dansereau
 
Simplex part 2 of 4
Simplex part 2 of 4Simplex part 2 of 4
Simplex part 2 of 4Ed Dansereau
 
Simplex part 1 of 4
Simplex part 1 of 4Simplex part 1 of 4
Simplex part 1 of 4Ed Dansereau
 
Break even and outsource analysis
Break even and outsource analysisBreak even and outsource analysis
Break even and outsource analysisEd Dansereau
 
How to set up a Graphical Method Linear Programming Problem - Introduction
How to set up a Graphical Method Linear Programming Problem - IntroductionHow to set up a Graphical Method Linear Programming Problem - Introduction
How to set up a Graphical Method Linear Programming Problem - IntroductionEd Dansereau
 
Integrating Social Media into the Classroom, VSC Presentation
Integrating Social Media into the Classroom, VSC PresentationIntegrating Social Media into the Classroom, VSC Presentation
Integrating Social Media into the Classroom, VSC PresentationEd Dansereau
 
Students' expectations of the use of social media in the classroom
Students' expectations of the use of social media in the classroomStudents' expectations of the use of social media in the classroom
Students' expectations of the use of social media in the classroomEd Dansereau
 
The influence of permission marketing final version
The influence of permission marketing final versionThe influence of permission marketing final version
The influence of permission marketing final versionEd Dansereau
 

Plus de Ed Dansereau (12)

Social media in job search
Social media in job searchSocial media in job search
Social media in job search
 
Social media use in job search
Social media use in job searchSocial media use in job search
Social media use in job search
 
Marketing management orientation philosophies
Marketing management orientation philosophiesMarketing management orientation philosophies
Marketing management orientation philosophies
 
Basic Business Forecasting
Basic Business ForecastingBasic Business Forecasting
Basic Business Forecasting
 
Simplex part 3 of 4
Simplex part 3 of 4Simplex part 3 of 4
Simplex part 3 of 4
 
Simplex part 2 of 4
Simplex part 2 of 4Simplex part 2 of 4
Simplex part 2 of 4
 
Simplex part 1 of 4
Simplex part 1 of 4Simplex part 1 of 4
Simplex part 1 of 4
 
Break even and outsource analysis
Break even and outsource analysisBreak even and outsource analysis
Break even and outsource analysis
 
How to set up a Graphical Method Linear Programming Problem - Introduction
How to set up a Graphical Method Linear Programming Problem - IntroductionHow to set up a Graphical Method Linear Programming Problem - Introduction
How to set up a Graphical Method Linear Programming Problem - Introduction
 
Integrating Social Media into the Classroom, VSC Presentation
Integrating Social Media into the Classroom, VSC PresentationIntegrating Social Media into the Classroom, VSC Presentation
Integrating Social Media into the Classroom, VSC Presentation
 
Students' expectations of the use of social media in the classroom
Students' expectations of the use of social media in the classroomStudents' expectations of the use of social media in the classroom
Students' expectations of the use of social media in the classroom
 
The influence of permission marketing final version
The influence of permission marketing final versionThe influence of permission marketing final version
The influence of permission marketing final version
 

Dernier

URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 

Dernier (20)

URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 

Linear Programming Quiz Solution

  • 1. LP Quizzes 4 to 8 Professor Ed Dansereau
  • 2. Decision Variables The two decision variables are the number of social media and newspaper ads. Decision variables represent what management control. We can decide how many of each to run. X1 = Newspaper X2 = Social Media All other expressions (OF and Constraints are defined in terms of decision variables).
  • 3. Objective Function Objective: Maximize Profit Objective Function: How much profit from each of our decision variables. $4 profit from Newspapers $2 profit from Social Media So Zmax = 4X1 + 2X2
  • 4. Constraints Constraints are limitations, we can only dream of having unlimited resources such as time and money. For Budget Constraint We have a maximum of 240 dollars, we could use 200 dollars but can not spend 250. Our limitation is less than or equal to 240 dollars. Each newspaper ad consumes $3 and each social media $1 Budget → 3X1 + 1X1 <= 240
  • 5. Constraints continued Work-Hour constraint A maximum of 100 hours are available. Each Newspaper consumes 1 hour and each social media 2.5 hours. X1 + 2.5X2 <= 100
  • 6. Graph Each constraint is Linear - a straight line. To graph we take advantage of the straight lines and that the axis of any variable equals zero. The horizontal axis is X1 and the Vertical is X2. Budget X1 → set X2 = 0, X1 + 2.5(0) <= 100, solve for X1, X1 = 100 X2 → set X1 = 0, 1(0) + 2.5X2 = 100, X2 = 40 Work Hours
  • 8. Feasible Region Feasible Region - the area limited by the constraints. Since our constraints are less than or equal to, the feasible region is area below both lines. Note that for most of the graph the binding constraint is the blue line, after the point (76.9, 9.2) the binding constraint is the red line. All LP problems assume greater than zero, so the axis represents the other boundaries (you would not do a project if your profits were negative). Feasible Region
  • 9. Extreme Points Extreme Points are the points at the edges of the feasible region. With two constraints there are four extreme points, there can be more if there are additional constraints. Our extreme points are (the labels are arbitrary) A: (0,0) B: (0,40) C: (76.9, 9.2) Extreme Points
  • 10. Optimal Solution Any point within the feasible area is a solution and will provide some measure of profit or at least break-even The Optimal Solution is the point that provides the maximum profit given our constraints. In Linear Programming it will always be one of the extreme points regardless if the objective is to maximizing profit or minimizing costs. Put Coordinates of extreme points into Objective Function to determine Maximum Profit or Minimum Cost (Max profit in our example). Zmax = 4X1 + 2X2 Za (0,0) = 4(0)+ 2(0) = 0 Zb (0,40) = 4(0) +2(40) =40 Zc (76.9, 9.2) = 4(76.9) + 2(9.2) = 326Optimal Solution
  • 11. Binding and Slack A BINDING constraints limits the optimal solution. Slack is extra capacity. For example the Budget constraint has slack up until it intersects with the Work Hour constraint. After that point, the Budget constraint is binding.
  • 12. Finding the intersection of two lines There are three ways to determine the intersection of two lines: 1. Estimate, take your best guess by looking at graph, for our example I would guess (77,10). 2. Simultaneous Solution 3. Mathematical Method
  • 13. Simultaneous Solution 1. Write out the two linear lines, the constraint equations 2. Solve for one variable in terms of the other for first equation 3. Substitute solution into second equation, which will result a solution for one variable 4. Solve for second variable
  • 14. Simultaneous Solution 1. Write out two linear lines a. Work Hours → X1 + 2.5X2 <= 100 b. Budget → 3X1 + X2 <= 240 2. Solve for one variable in terms of the other for first equation a. X1 + 2.5X2 = 100, so X1 = 100 - 2.5X2 b. Solve for any variable in either equation. I choose Work Hours and the variable X1 because the math was easy. With a coefficient of 1, (240-2.5X2)/1 = (240-2.5X2). You do not even need a calculator for that!
  • 15. Simultaneous Solution 3. Substitute solution into second equation, which will result a solution for one variable a. Budget → 3X1 + X2 <= 240 b. Work Hours → X1 = 100 - 2.5X2 c. Sub work hours into Budget → 3(100-2.5X2) + X2 = 240 i. 300 - 7.5X2 +x2 =240 ii. -6.5X2 = 240 - 300
  • 16. Simultaneous Solution 4. Solve for second variable X2 = 9.27 3X1 + X2 = 240 (either equation will work) 3X1 + 9.27 = 240 X1 = (240 - 9.27) / 3 X1 = 76.92, solution for second variable
  • 17. Multiplication Method In this method we try to eliminate one variable but multiplying by an inverse (negative number). 1. Look at your two linear lines (constraints) and choose a variable to eliminate. I look for a number that is easy to multiple. 2. Multiple the other equation by the inverse. 3. Add two equations together and solve for first variable. 4. Solve for second variable
  • 18. Multiplication Method 1. Look at your two linear lines (constraints) and choose a variable to eliminate a. Budget → 3X1 + 1X2 <= 240 b. Hours → 1X1 + 2.5X2 <= 100 c. The X1 in budget is three times the X1 in hours, so I choose to multiple the Work Hours constraint by inverse, or simply -3. 2. Multiple the other equation by the inverse a. Hours → -3(1X1 +2.5X2 = 100),
  • 19. Multiplication Method 3. Add two equations together and solve for first variable. 3X1 + 1X2 = 240 + -3X1 - 7.5X2 = -300 = 0X1 - 6.5X2 = -60 X2 = (-60)/(-6.5) X2 = 9.23 (Does this number look familiar?)
  • 20. Multiplication Method 4. Solve for second variable X2 = 9.23 Budget → 3X1 + 1X2 <= 240, you may choose either equation 3X1 + 9.23 = 240 X1 = (240 -9.23) / 3 X1 = 76.92
  • 21. Finding the intersection of two lines Both the Simultaneous Solution and Mathematical Method produce the same solution for X1 and X2 (76.92, 9.23). These coordinates are the point on the graph where the two lines intersect. Yes, you need to learn both methods. We will use the Mathematical Method in the next section.