Optimization unconstrained and constrained - PowerPoint PPT Presentation

1 / 20
About This Presentation
Title:

Optimization unconstrained and constrained

Description:

Title: Review of Probability and Statistics Author: Patricia M. Anderson Last modified by: Marek Created Date: 10/2/1999 5:37:41 PM Document presentation format – PowerPoint PPT presentation

Number of Views:45
Avg rating:3.0/5.0
Slides: 21
Provided by: PatriciaM67
Category:

less

Transcript and Presenter's Notes

Title: Optimization unconstrained and constrained


1
Optimizationunconstrained and constrained
  • Calculus part II

2
Setting-Up Optimization Problems
  • Define the agents goal objective function and
    identify the agents choice (control) variables
  • Identify restrictions (if any) on the agents
    choices (constraints). If no constraints exist,
    then we have unconstrained minimization or
    maximization problems.
  • If constraints exist, what type?
  • Equality Constraints (Lagrangian)
  • Inequality Constraints (Linear Programming)

3
  • Mathematically, Optimize y f(x1, x2, . . .
    ,xn)
  • subject to (s.t.)
  • gj (x1, x2, . . . ,xn) bj
  • or
  • bj j 1, 2, . . ., m.
  • or
  • bj
  • y f(x1, x2, . . . ,xn) ? objective function
  • x1, x2, . . . ,xn ? set of decision variables
    (n)
  • optimize ? either maximize or minimize
  • gi(x1, x2, . . . ,xn) ? constraints (m)

4
  • Constraints refer to
  • restrictions on resources
  • legal constraints
  • environmental constraints
  • behavioral constraints

5
Review of Derivatives
  • yf(x) First-order condition
  • Second-order condition
  • Constant function
  • Power function
  • Sum of functions
  • Product rule
  • Quotient rule
  • Chain rule


6
Unconstrainted UnivariateMaximization Problems
max f(x)
  • Solution
  • Derive First Order Condition (FOC) f(x)0
  • Check Second Order Condition (SOC) f(x)lt0
  • Local vs. global If more than one point satisfy
    both FOC and SOC, evaluate the objective function
    at each point to identify the maximum.

7
Example
  • PROFIT -40 140Q 10Q2
  • Find Q that maximizes profit

8
Example
  • PROFIT -40 140Q 10Q2
  • Find Q that maximizes profit
  • 140 20Q set 0
  • Q 7
  • - 20 lt 0
  • max profit occurs at Q 7
  • max profit -40 140(7) 10(7)2
  • max profit 450

9
Minimization Problems Min f(x)
  • Solution
  • Derive First Order Condition (FOC) f(x)0
  • Check Second Order Condition (SOC) f(x)gt0
  • Local vs. global If more than one point satisfy
    both FOC and SOC, evaluate the objective function
    at each point to identify the minimum.

10
Example
  • COST 15 - .04Q .00008Q2
  • Find Q that minimizes cost

11
Example
  • COST 15 - .04Q .00008Q2
  • Find Q that minimizes cost
  • -.04 .00016Q set 0
  • Q 250
  • .00016 gt 0
  • Minimize cost at Q 250
  • min cost 10

12
Unconstrained Multivariate Optimization
  • Max
  • FOC
  • SOC

13
Example
Find Q1 and Q2 that maximize Profit
14
Example
  • PROFIT is a function of the output of two
    products
  • (e.g.heating oil and gasoline)
  • Q1 Q2
  • Solve Simultaneously Q1 5.77 units
  • Q2 4.08 units

15
Second-Order Conditions
(-20)(-16) (-6)2 gt 0 320 36 gt 0 we
have maximized profit.
16
Constrained Optimization
  • Solution Lagrangian Multiplier Method
  • Maximize y f(x1, x2, x3, , xn)
  • s.t. g(x1, x2, x3, , xn) b
  • Solution
  • Set up Lagrangian
  • FOC

17
Lagrangian Multiplier
  • Interpretation of Lagrangian Multiplier ? the
    shadow value of the constrained resource.
  • If the constrained resource increases by 1 unit,
    the objective function will change by ? units.

18
Example
  • Maximize Profit
  • subject to (s.t.) 20Q1 40Q2 200
  • Could solve by direct substitution
  • Note that 20Q1 200 40Q2 ? Q1 10 2Q2
  • Maximize Profit

19
Lagrangian Multiplier Method
20
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com