Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
c
c
c c
c
c c
c
c
c
= V
n n
n
x
f
x x
f
x x
f
x
f
f
f
x x
x x
x x H
x
=
|
|
.
|
\
|
+
+
=
|
|
|
|
.
|
\
|
c
c
c
c
= V
Example (Cont.)
.
6 9
9 6
) , (
2
2 2
2
2
2
2
|
|
.
|
\
|
=
|
|
|
|
|
.
|
\
|
c
c
c c
c
c c
c
c
c
= V
y
x
y
f
x y
f
y x
f
x
f
y x f
Fin500J Topic 4 17 Fall 2010 Olin Business School
We now compute the Hessian of f(x,y)
The first order leading principal minor is 6x and the second order
principal minor is -36xy-81.
At (0,0), these two minors are 0 and -81, respectively. Since the
second order leading principal minor is negative, (0,0) is a saddle
of f(x,y), i.e., neither a max nor a min.
At (3, -3), these two minors are 18 and 243. So, the Hessian is
positive definite and (3,-3) is a local min of f(x,y).
Is (3, -3) a global min?
Global Maxima and Minima of a Function
of Several Variables
Let f(x) be a C
2
function in R
n
, then
When f(x) is a concave function, i.e., is negative
semidefinite for all x and , then x* is a global
max of f(x);
When f(x) is a convex function, i.e., is positive
semidefinite for all x and , then x* is a global
min of f(x);
18 Fin500J Topic 4 Fall 2010 Olin Business School
( ) x f
2
V
( ) 0 * = V x f
( ) x f
2
V
( ) 0 * = V x f
Example (Discriminating Monopolist)
Fin500J Topic 4 19 Fall 2010 Olin Business School
A monopolist producing a single output has two types of customers. If it
produces q
1
units for type 1, then these customers are willing to pay a price
of 50-5q
1
per unit. If it produces q
2
units for type 2, then these customers
are willing to pay a price of 100-10q
2
per unit.
The monopolists cost of manufacturing q units of output is 90+20q.
In order to maximize profits, how much should the monopolist produce
for each market?
Profit is:
plan. supply maximizing - profit the is (3,4) definite negative is
. 0 , 20 , 10
. 4 0 20 20 100
q
f
, 3 0 20 10 50
q
f
are points critical The
)). ( 20 90 ( ) 10 100 ( ) 5 50 ( ) , (
2
1 2
2
2 1
2
2
2
2
2
1
2
2 2
2
1 1
1
2 1 2 2 1 1 2 1
V
=
c c
c
=
c c
c
=
c
c
=
c
c
= = =
c
c
= = =
c
c
+ + + =
f
q q
f
q q
f
q
f
q
f
q q q q
q q q q q q q q f
Constrained Optimization
Examples:
Individuals maximizing utility will be subject to a
budget constraint
Firms maximising output will be subject to a cost
constraint
The function we want to maximize/minimize is called
the objective function
The restriction is called the constraint
Fin500J Topic 4 Fall 2010 Olin Business School 20
Constrained Optimization (General Form)
A general mixed constrained multi-dimensional
maximization problem is
=
s s s
= = =
1
1 1 1 2 1 2 1 ,
1 1 1 2 1 2 1
max ( ) ( ,..., )
subject to
( ,..., ) , ( ,..., ) , , ( ,..., )
( ,..., ) , ( ,..., ) , , ( ,..., ) .
n
n n k n k
n n m n m
f x f x x
g x x b g x x b g x x b
h x x c h x x c h x x c
Fin500J Topic 4 21 Fall 2010 Olin Business School
Constrained Optimization (Lagrangian Form)
The Lagrangian approach is to associate a Lagrange
multiplier
i
with the i
th
inequality constraint and
i
with
the i
th
equality constraint.
We then form the Lagrangian
( )
( )
=
=
=
1 1 1
1 1
1
1
1
( ,..., , ,..., , ,..., )
( ,..., ) ( ,..., )
( ,..., ) .
n k m
k
n i i n i
i
m
i i n i
i
L x x
f x x g x x b
h x x c
Fin500J Topic 4 22 Fall 2010 Olin Business School
Constrained Optimization (Kuhn-Tucker
Conditions)
If is a local maximum of f on the constraint set
defined by the k inequalities and m equalities, then,
there exists multipliers satisfying
*
x
* * * *
1 1
, , , , ,
k m
Fin500J Topic 4 23 Fall 2008 23 Fall 2010 Olin Business School
( )
* * * * * *
* *
1 1
*
* *
*
( ) ( ) ( , , ) ( )
0, 1, , n
( ) , 1, ,
( ) 0, 1, ,
( ) , 1, ,
k m
i i
i i
i i
j j j j
i i
i i i
i i
g x h x L x f x
j
x x x x
h x c i m
g x b i k
g x b i k
= =
c c c c
= = =
c c c c
= =
= =
s =
*
0, 1, ,
i
i k > =
Fin500J Topic 4
Constrained Optimization (Kuhn-Tucker
Conditions)
The first set of KT conditions generalizes the
unconstrained critical point condition
The second set of KT conditions says that x needs to
satisfy the equality constraints
The third set of KT conditions is
That is to say
> =
* *
if 0 then ( )
i i i
g x b
< =
* *
i
if ( ) then 0
i i
g x b
Fin500J Topic 4 24 Fall 2008
( )
* *
( ) 0, 1, ,
i i i
g x b i k = =
24 Fall 2010 Olin Business School Fin500J Topic 4
Constrained Optimization (Kuhn-Tucker
Conditions)
This can be interpreted as follows:
Additional units of the resource b
i
only have value if the
available units are used fully in the optimal solution, i.e., if
the constraint is not binding thus it does not
make difference in the optimal solution and
i
*=0.
Finally, note that increasing b
i
enlarges the feasible region,
and therefore increases the objective value
Therefore,
i
>0 for all i
Fin500J Topic 4 25 Fall 2008
<
*
( )
i i
g x b
25 Fall 2010 Olin Business School Fin500J Topic 4
Example
+ =
> >
2
2 2
max
4
0, 0.
x y
subject to
x y
x y
Fin500J Topic 4 26 Fall 2008
+ + +
c
= + =
c
c
= + =
c
+ =
= =
> >
> >
2 2 2
1 2
1
2
2 2
1 2
1 2
Form the Lagrangian
L=x-y ( 4) .
The first order conditions become:
(1) 1 2 0,
(2) 2 2 0,
(3) 4 0
(4) 0, (5) 0,
(6) 0, (7) 0,
(8) 0, (8) 0.
x y x y
L
x
x
L
y y
y
x y
x y
x y
26 Fall 2010 Olin Business School Fin500J Topic 4
Example (cont.)
Fin500J Topic 4 27 Fall 2008
+ = > + >
> > =
= + + >
= =
=
1 1 1
1
2
2
2
1
By (1), 1 2 , since 0, 1 0
0 and 0, by (4), 0.
by (2), 2 (1 ), since 1 0
either both and are zero, or both
are positive, from (5) 0, 0.
By (3) and (8) x=2, from (4), 0,
(
x
x
y
y
y
by = =
1 2
1 1
1), . So, ( , , , , ) (2, 0, , 0, 0).
4 4
x y
27 Fall 2010 Olin Business School Fin500J Topic 4
Sensitivity Analysis
We notice that
What happens to the optimal solution value if the
right-hand side of constraint i is changed by a small
amount, say Ab
i ,
i=1
k
.
or Ac
i ,
i=1
.
m.
It changes by approximately or
is the shadow price of i
th
inequality constraint and
( )
'
= = ( *, *, *) ( *) * ( *) *'( ( *) ) ( *) L x f x g x b h x c f x
*
i i
b A
*
i
*
i
is the shadow price of i
th
equality constraint
Sensitivity Analysis (Example)
In the previous example, if we change the first
constraint to x
2
+y
2
=3.9, then we predict that the new
optimal value would be 2+1/4(-0.1)=1.975.
If we compute that problem with this new constraint,
then x-y
2
=
If, instead, we change the second constraint from x0
to x0.1, we do not change the solution or the
optimum value since
Fin500J Topic 4 29 Fall 2010 Olin Business School
=
*
1
0.
= 3.9 1.9748.
Utility Maximization Example
( )
( )
0 4
0
0 2
: Conditions Order - First
4 100 )
is function Lagrangian Our
exercise. and movies watch to available are day per hours Four
100
function by the described is
(M) movies watching and (X) exercise from derived utility The
2
2
2
= + =
= =
= =
+ =
=
M X L
e L
e L
M X e e L(X,M,
e e X,M U
M
M
X
X
M X
M X
=
+
=
+ = + = =
=
=
= + = = = = =
M and
e
M e e
e
M X L e L e L
X
M X -
-M
M
M
X
X
Fin500J Topic 4 31 Fall 2010 Olin Business School