SlideShare a Scribd company logo
1 of 21
Today’s Agenda
 Attendance

/ Announcements
 Questions from Yesterday
 Sections 7.2
 Quiz Today
Exam Schedule
 Exam

4 (Ch 6,7)
Fri 11/15
 Exam 5 (Ch 10)
Thur 12/5
 Final Exam (All)
Thur 12/12
Linear Programming
Businesses use linear
programming to find out how to
maximize profit or minimize
costs. Most have constraints on
what they can use or buy.
Linear Programming
The Objective Function is
what we need to maximize or
minimize. For us, this will be a
function of 2 variables, f(x, y)
Linear Programming
The Constraints are the
inequalities that provide us with
the Feasible Region.
Linear Programming (pg 400)
The general idea… (pg 398)
Find max/min values of the objective
function, subject to the constraints.
Objective Function

f ( x, y)

2x 5 y

Constraints

3x 2 y 6
2x 4 y 8
x y 1
x 0, y 0
The general idea… (pg 398)
Graph the Feasible Region
The general idea… (pg 398)
The Feasible Region makes up the possible
inputs to the Objective Function

f ( x, y)

2x 5 y
Corner Point Thm (pg 400)
If a feasible region is
bounded, then the
objective function
has both a
maximum and
minimum value,
with each occurring
at one or more
corner points.
Find the minimum and maximum
value of the function f(x, y) = 3x - 2y.

We are given the constraints:
• y≥2
• 1 ≤ x ≤5
• y≤x+3
1 ≤ x ≤5
8
7
6
5
4
3

y≤x+3

y≥2

2

1

1

2

3

4

5
Need to find corner
points (vertices)

1 ≤ x ≤5
8
7
6
5
4
3

y≤x+3

y≥2

2

1

1

2

3

4

5
• The vertices (corners) of the
feasible region are:
(1, 2) (1, 4) (5, 2) (5, 8)
• Plug these points into the
function f(x, y) = 3x - 2y
Note: plug in BOTH x, and y values.
Evaluate the function at each vertex
to find min/max values
f(x, y) = 3x - 2y
• f(1, 2) = 3(1) - 2(2) = 3 - 4 = -1
• f(1, 4) = 3(1) - 2(4) = 3 - 8 = -5
• f(5, 2) = 3(5) - 2(2) = 15 - 4 = 11
• f(5, 8) = 3(5) - 2(8) = 15 - 16 = -1
So, the optimized solution is:
• f(1, 4) = -5 minimum
• f(5, 2) = 11 maximum
Find the minimum and maximum value
of the function f(x, y) = 4x + 3y
With the constraints:

y
y
y

x 2
1
x 2
4
2x 5
y ≥ 2x -5

Need to find corner
points (vertices)

6
5

y ≤ 1/4x + 2
4

y ≥ -x + 2

3
2
1
1

2

3

4

5
Evaluate the function at each vertex
to find min/max values
f(x, y) = 4x + 3y
• f(0, 2) = 4(0) + 3(2) = 6
• f(4, 3) = 4(4) + 3(3) = 25
7
1
1
7
• f( 3 , - 3 ) = 4( 3 ) + 3(- 3 ) =

28
3

-1 =

25
3
So, the optimized solution is:
• f(0, 2) = 6 minimum
• f(4, 3) = 25 maximum
Classwork / Homework

• Page 403
• 1, 3, 7, 9, 11

More Related Content

What's hot

code optimization 1...code optimization-1221849738688969-9
code optimization 1...code optimization-1221849738688969-9code optimization 1...code optimization-1221849738688969-9
code optimization 1...code optimization-1221849738688969-9Sanjeev Raaz
 
CONSIDER THE INTERVAL [0, ). FOR EACH NUMERICAL VALUE BELOW, IS IT IN THE INT...
CONSIDER THE INTERVAL [0, ). FOR EACH NUMERICAL VALUE BELOW, IS IT IN THE INT...CONSIDER THE INTERVAL [0, ). FOR EACH NUMERICAL VALUE BELOW, IS IT IN THE INT...
CONSIDER THE INTERVAL [0, ). FOR EACH NUMERICAL VALUE BELOW, IS IT IN THE INT...ViscolKanady
 
mathematical functions
mathematical functions mathematical functions
mathematical functions Anshul gour
 
5 1 ext relations and functions
5 1 ext relations and functions5 1 ext relations and functions
5 1 ext relations and functionshisema01
 
8.1 intro to functions
8.1 intro to functions8.1 intro to functions
8.1 intro to functionsBarbara Knab
 
Types of functions 05272011
Types of functions 05272011Types of functions 05272011
Types of functions 05272011Boyet Aluan
 
How Business mathematics assist Business in decision making
How Business mathematics assist Business in decision makingHow Business mathematics assist Business in decision making
How Business mathematics assist Business in decision makingFahad Fu
 
Functions and its Applications in Mathematics
Functions and its Applications in MathematicsFunctions and its Applications in Mathematics
Functions and its Applications in MathematicsAmit Amola
 
5.5 B Standard and Point Slope Form
5.5 B Standard and Point Slope Form5.5 B Standard and Point Slope Form
5.5 B Standard and Point Slope Formvmonacelli
 
Code Optimization
Code OptimizationCode Optimization
Code Optimizationguest9f8315
 
Function presentation
Function presentationFunction presentation
Function presentationjamil sadiq
 
Aplikom03 excel or
Aplikom03 excel orAplikom03 excel or
Aplikom03 excel orArif Rahman
 
Lesson 33: The Assignment Problem
Lesson 33: The Assignment  ProblemLesson 33: The Assignment  Problem
Lesson 33: The Assignment ProblemMatthew Leingang
 
A BIOBJECTIVE MODEL FOR PRODUCTION PLANNING IN A CEMENT FACTORY: Non-preemp...
A BIOBJECTIVE MODEL FOR PRODUCTION PLANNING IN  A CEMENT FACTORY:  Non-preemp...A BIOBJECTIVE MODEL FOR PRODUCTION PLANNING IN  A CEMENT FACTORY:  Non-preemp...
A BIOBJECTIVE MODEL FOR PRODUCTION PLANNING IN A CEMENT FACTORY: Non-preemp...Damilola Akinola
 
Results after modifying errors
Results after modifying errorsResults after modifying errors
Results after modifying errorsMaRwa Hamed
 

What's hot (20)

Computing the Area of a Polygon
Computing the Area of a PolygonComputing the Area of a Polygon
Computing the Area of a Polygon
 
code optimization 1...code optimization-1221849738688969-9
code optimization 1...code optimization-1221849738688969-9code optimization 1...code optimization-1221849738688969-9
code optimization 1...code optimization-1221849738688969-9
 
CONSIDER THE INTERVAL [0, ). FOR EACH NUMERICAL VALUE BELOW, IS IT IN THE INT...
CONSIDER THE INTERVAL [0, ). FOR EACH NUMERICAL VALUE BELOW, IS IT IN THE INT...CONSIDER THE INTERVAL [0, ). FOR EACH NUMERICAL VALUE BELOW, IS IT IN THE INT...
CONSIDER THE INTERVAL [0, ). FOR EACH NUMERICAL VALUE BELOW, IS IT IN THE INT...
 
First Partial Review
First Partial ReviewFirst Partial Review
First Partial Review
 
mathematical functions
mathematical functions mathematical functions
mathematical functions
 
5 1 ext relations and functions
5 1 ext relations and functions5 1 ext relations and functions
5 1 ext relations and functions
 
8.1 intro to functions
8.1 intro to functions8.1 intro to functions
8.1 intro to functions
 
Types of functions 05272011
Types of functions 05272011Types of functions 05272011
Types of functions 05272011
 
Lecture three
Lecture threeLecture three
Lecture three
 
Goal programming
Goal programmingGoal programming
Goal programming
 
How Business mathematics assist Business in decision making
How Business mathematics assist Business in decision makingHow Business mathematics assist Business in decision making
How Business mathematics assist Business in decision making
 
Functions and its Applications in Mathematics
Functions and its Applications in MathematicsFunctions and its Applications in Mathematics
Functions and its Applications in Mathematics
 
Mbd2
Mbd2Mbd2
Mbd2
 
5.5 B Standard and Point Slope Form
5.5 B Standard and Point Slope Form5.5 B Standard and Point Slope Form
5.5 B Standard and Point Slope Form
 
Code Optimization
Code OptimizationCode Optimization
Code Optimization
 
Function presentation
Function presentationFunction presentation
Function presentation
 
Aplikom03 excel or
Aplikom03 excel orAplikom03 excel or
Aplikom03 excel or
 
Lesson 33: The Assignment Problem
Lesson 33: The Assignment  ProblemLesson 33: The Assignment  Problem
Lesson 33: The Assignment Problem
 
A BIOBJECTIVE MODEL FOR PRODUCTION PLANNING IN A CEMENT FACTORY: Non-preemp...
A BIOBJECTIVE MODEL FOR PRODUCTION PLANNING IN  A CEMENT FACTORY:  Non-preemp...A BIOBJECTIVE MODEL FOR PRODUCTION PLANNING IN  A CEMENT FACTORY:  Non-preemp...
A BIOBJECTIVE MODEL FOR PRODUCTION PLANNING IN A CEMENT FACTORY: Non-preemp...
 
Results after modifying errors
Results after modifying errorsResults after modifying errors
Results after modifying errors
 

Viewers also liked

Viewers also liked (16)

Lecture 1.7b bt
Lecture 1.7b btLecture 1.7b bt
Lecture 1.7b bt
 
Geo 7.3
Geo 7.3Geo 7.3
Geo 7.3
 
M153 Lecture 1.2 BT
M153 Lecture 1.2 BTM153 Lecture 1.2 BT
M153 Lecture 1.2 BT
 
Lecture 1.7a bt
Lecture 1.7a btLecture 1.7a bt
Lecture 1.7a bt
 
Lecture 7.3 bt
Lecture 7.3 btLecture 7.3 bt
Lecture 7.3 bt
 
Lecture 1.1 to 1.3 bt
Lecture 1.1 to 1.3 btLecture 1.1 to 1.3 bt
Lecture 1.1 to 1.3 bt
 
Lecture 3.1 to 3.2 bt
Lecture 3.1 to 3.2 btLecture 3.1 to 3.2 bt
Lecture 3.1 to 3.2 bt
 
I book presentation nfd bt
I book presentation nfd btI book presentation nfd bt
I book presentation nfd bt
 
Geo 6.2 6.3 bt
Geo 6.2 6.3 btGeo 6.2 6.3 bt
Geo 6.2 6.3 bt
 
Lecture 3.6 bt
Lecture 3.6 btLecture 3.6 bt
Lecture 3.6 bt
 
Lecture 3.6 bt
Lecture 3.6 btLecture 3.6 bt
Lecture 3.6 bt
 
Chapter 2.4, 2.5 bt
Chapter 2.4, 2.5 btChapter 2.4, 2.5 bt
Chapter 2.4, 2.5 bt
 
Lecture 6.1 6.2 bt
Lecture 6.1 6.2 btLecture 6.1 6.2 bt
Lecture 6.1 6.2 bt
 
Lecture 4.2 bt
Lecture 4.2 btLecture 4.2 bt
Lecture 4.2 bt
 
Lecture 7.1 to 7.2 bt
Lecture 7.1 to 7.2 btLecture 7.1 to 7.2 bt
Lecture 7.1 to 7.2 bt
 
Geo 6.2 6.3 bt
Geo 6.2 6.3 btGeo 6.2 6.3 bt
Geo 6.2 6.3 bt
 

Similar to Lecture 7.2 bt

3.4 linear programming
3.4 linear programming3.4 linear programming
3.4 linear programmingfthrower
 
3.4 a linear programming
3.4 a linear programming3.4 a linear programming
3.4 a linear programmingfthrower
 
Functions and Relations
Functions and RelationsFunctions and Relations
Functions and RelationsJailah13
 
Evaluating functions
Evaluating functionsEvaluating functions
Evaluating functionsEFREN ARCHIDE
 
Piecewise function lesson 3
Piecewise function lesson 3Piecewise function lesson 3
Piecewise function lesson 3aksetter
 
11 smar tee review
11 smar tee review11 smar tee review
11 smar tee reviewsbaker76
 
Lesson 2 - Functions and their Graphs - NOTES.ppt
Lesson 2 - Functions and their Graphs - NOTES.pptLesson 2 - Functions and their Graphs - NOTES.ppt
Lesson 2 - Functions and their Graphs - NOTES.pptJaysonMagalong
 
January 6, 2014 intro to functions
January 6, 2014 intro to functionsJanuary 6, 2014 intro to functions
January 6, 2014 intro to functionskhyps13
 
9-Functions.pptx
9-Functions.pptx9-Functions.pptx
9-Functions.pptxjaffarbikat
 
1 5 graphs of functions
1 5 graphs of functions1 5 graphs of functions
1 5 graphs of functionsAlaina Wright
 
5.1 Quadratic Functions
5.1 Quadratic Functions5.1 Quadratic Functions
5.1 Quadratic Functionssmiller5
 
Lesson 4A - Inverses of Functions.ppt
Lesson 4A - Inverses of Functions.pptLesson 4A - Inverses of Functions.ppt
Lesson 4A - Inverses of Functions.pptssuser78a386
 
Jan. 4 Function L1
Jan. 4 Function L1Jan. 4 Function L1
Jan. 4 Function L1RyanWatt
 
Functions and graphs
Functions and graphsFunctions and graphs
Functions and graphsSujata Tapare
 

Similar to Lecture 7.2 bt (20)

3.4 linear programming
3.4 linear programming3.4 linear programming
3.4 linear programming
 
3.4 a linear programming
3.4 a linear programming3.4 a linear programming
3.4 a linear programming
 
AnsChap1.pdf
AnsChap1.pdfAnsChap1.pdf
AnsChap1.pdf
 
Functions and Relations
Functions and RelationsFunctions and Relations
Functions and Relations
 
Evaluating functions
Evaluating functionsEvaluating functions
Evaluating functions
 
Piecewise function lesson 3
Piecewise function lesson 3Piecewise function lesson 3
Piecewise function lesson 3
 
11 smar tee review
11 smar tee review11 smar tee review
11 smar tee review
 
Lesson 2 - Functions and their Graphs - NOTES.ppt
Lesson 2 - Functions and their Graphs - NOTES.pptLesson 2 - Functions and their Graphs - NOTES.ppt
Lesson 2 - Functions and their Graphs - NOTES.ppt
 
Singlevaropt
SinglevaroptSinglevaropt
Singlevaropt
 
January 6, 2014 intro to functions
January 6, 2014 intro to functionsJanuary 6, 2014 intro to functions
January 6, 2014 intro to functions
 
Piecewise functions
Piecewise functions Piecewise functions
Piecewise functions
 
1 13f-f
1 13f-f1 13f-f
1 13f-f
 
9-Functions.pptx
9-Functions.pptx9-Functions.pptx
9-Functions.pptx
 
1 5 graphs of functions
1 5 graphs of functions1 5 graphs of functions
1 5 graphs of functions
 
Functions
FunctionsFunctions
Functions
 
5.1 Quadratic Functions
5.1 Quadratic Functions5.1 Quadratic Functions
5.1 Quadratic Functions
 
Lesson 4A - Inverses of Functions.ppt
Lesson 4A - Inverses of Functions.pptLesson 4A - Inverses of Functions.ppt
Lesson 4A - Inverses of Functions.ppt
 
Jan. 4 Function L1
Jan. 4 Function L1Jan. 4 Function L1
Jan. 4 Function L1
 
Functions and graphs
Functions and graphsFunctions and graphs
Functions and graphs
 
1 13s-f
1 13s-f1 13s-f
1 13s-f
 

More from btmathematics (20)

Derivative power point
Derivative power pointDerivative power point
Derivative power point
 
3.1 derivative of a function
3.1 derivative of a function3.1 derivative of a function
3.1 derivative of a function
 
Carpentry2
Carpentry2Carpentry2
Carpentry2
 
Carpentry
CarpentryCarpentry
Carpentry
 
Carpentry
CarpentryCarpentry
Carpentry
 
Lecture 10.4 bt
Lecture 10.4 btLecture 10.4 bt
Lecture 10.4 bt
 
Lecture 10.1 10.2 bt
Lecture 10.1 10.2 btLecture 10.1 10.2 bt
Lecture 10.1 10.2 bt
 
Lecture 7.3 bt
Lecture 7.3 btLecture 7.3 bt
Lecture 7.3 bt
 
Geo 7.2 b
Geo 7.2 bGeo 7.2 b
Geo 7.2 b
 
Geo 7.1 7.2
Geo 7.1 7.2Geo 7.1 7.2
Geo 7.1 7.2
 
Lecture 6.1 6.2 bt
Lecture 6.1 6.2 btLecture 6.1 6.2 bt
Lecture 6.1 6.2 bt
 
Lecture 4.4 bt
Lecture 4.4 btLecture 4.4 bt
Lecture 4.4 bt
 
Geo 6.4 6.5
Geo 6.4 6.5Geo 6.4 6.5
Geo 6.4 6.5
 
Geo 6.1 bt
Geo 6.1 btGeo 6.1 bt
Geo 6.1 bt
 
Geo 6.1 bt
Geo 6.1 btGeo 6.1 bt
Geo 6.1 bt
 
Lecture 4.2 bt
Lecture 4.2 btLecture 4.2 bt
Lecture 4.2 bt
 
Lecture 4.1 bt
Lecture 4.1 btLecture 4.1 bt
Lecture 4.1 bt
 
Geo 5.1 bt
Geo 5.1 btGeo 5.1 bt
Geo 5.1 bt
 
Chapter 4.3 bt
Chapter 4.3 btChapter 4.3 bt
Chapter 4.3 bt
 
Chapter 4.2 bt
Chapter 4.2 btChapter 4.2 bt
Chapter 4.2 bt
 

Recently uploaded

EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusZilliz
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
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 TerraformAndrey Devyatkin
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
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)wesley chun
 
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 Processorsdebabhi2
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...apidays
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 

Recently uploaded (20)

EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
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
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
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)
 
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
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 

Lecture 7.2 bt

  • 1. Today’s Agenda  Attendance / Announcements  Questions from Yesterday  Sections 7.2  Quiz Today
  • 2. Exam Schedule  Exam 4 (Ch 6,7) Fri 11/15  Exam 5 (Ch 10) Thur 12/5  Final Exam (All) Thur 12/12
  • 3. Linear Programming Businesses use linear programming to find out how to maximize profit or minimize costs. Most have constraints on what they can use or buy.
  • 4. Linear Programming The Objective Function is what we need to maximize or minimize. For us, this will be a function of 2 variables, f(x, y)
  • 5. Linear Programming The Constraints are the inequalities that provide us with the Feasible Region.
  • 7. The general idea… (pg 398) Find max/min values of the objective function, subject to the constraints. Objective Function f ( x, y) 2x 5 y Constraints 3x 2 y 6 2x 4 y 8 x y 1 x 0, y 0
  • 8. The general idea… (pg 398) Graph the Feasible Region
  • 9. The general idea… (pg 398) The Feasible Region makes up the possible inputs to the Objective Function f ( x, y) 2x 5 y
  • 10. Corner Point Thm (pg 400) If a feasible region is bounded, then the objective function has both a maximum and minimum value, with each occurring at one or more corner points.
  • 11. Find the minimum and maximum value of the function f(x, y) = 3x - 2y. We are given the constraints: • y≥2 • 1 ≤ x ≤5 • y≤x+3
  • 12. 1 ≤ x ≤5 8 7 6 5 4 3 y≤x+3 y≥2 2 1 1 2 3 4 5
  • 13. Need to find corner points (vertices) 1 ≤ x ≤5 8 7 6 5 4 3 y≤x+3 y≥2 2 1 1 2 3 4 5
  • 14. • The vertices (corners) of the feasible region are: (1, 2) (1, 4) (5, 2) (5, 8) • Plug these points into the function f(x, y) = 3x - 2y Note: plug in BOTH x, and y values.
  • 15. Evaluate the function at each vertex to find min/max values f(x, y) = 3x - 2y • f(1, 2) = 3(1) - 2(2) = 3 - 4 = -1 • f(1, 4) = 3(1) - 2(4) = 3 - 8 = -5 • f(5, 2) = 3(5) - 2(2) = 15 - 4 = 11 • f(5, 8) = 3(5) - 2(8) = 15 - 16 = -1
  • 16. So, the optimized solution is: • f(1, 4) = -5 minimum • f(5, 2) = 11 maximum
  • 17. Find the minimum and maximum value of the function f(x, y) = 4x + 3y With the constraints: y y y x 2 1 x 2 4 2x 5
  • 18. y ≥ 2x -5 Need to find corner points (vertices) 6 5 y ≤ 1/4x + 2 4 y ≥ -x + 2 3 2 1 1 2 3 4 5
  • 19. Evaluate the function at each vertex to find min/max values f(x, y) = 4x + 3y • f(0, 2) = 4(0) + 3(2) = 6 • f(4, 3) = 4(4) + 3(3) = 25 7 1 1 7 • f( 3 , - 3 ) = 4( 3 ) + 3(- 3 ) = 28 3 -1 = 25 3
  • 20. So, the optimized solution is: • f(0, 2) = 6 minimum • f(4, 3) = 25 maximum
  • 21. Classwork / Homework • Page 403 • 1, 3, 7, 9, 11