Lecture 10. Constrained Optimization

Download Report

Transcript Lecture 10. Constrained Optimization

Optimization with inequality constraints

Consider the problem max ๐‘ฅ 1 ,๐‘ฅ 2 ๐‘ข ๐‘ฅ 1 , ๐‘ฅ ๐‘ . ๐‘ก. ๐‘ฆ + ๐‘ฅ โ‰ค 4 2 ๐‘ฆ + 2๐‘ฅ โ‰ค 6 2

Optimization with inequality constraints: the Kuhn-Tucker (KT) conditions

The

KT conditions

for the problem max

x f

(

x

) subject to

g j

(

x

) โ‰ค

c j

for

j

= 1, ...,

m

are L

i

'(

x

) = 0 for

i

= 1 ,...,

n

ฮป

j

โ‰ฅ 0, where

g j

(

x

) โ‰ค

c j

and ฮป

j

[

g j

(

x

) โˆ’

c j

] = 0 for

j

= 1, ...,

m

.

๐ฟ(๐‘ฅ) = ๐‘“ (๐‘ฅ) โˆ’ ๐‘š ๐‘—=1 ๐œ† ๐‘— (๐‘” ๐‘— (๐‘ฅ) โˆ’ ๐‘ ๐‘— ) .

Example max {x 1 ,x 2 } โˆ’(x 1 โˆ’ 4) 2 โˆ’ (x x 1 x 1 s. t.

+ x 2 + 3x 2 โ‰ค 4 โ‰ค 9 2 โˆ’ 4) 2 ๐ฟ ๐‘ฅ = โˆ’ x 1 โˆ’ 4 2 โˆ’ x 2 โˆ’ 4 2 โˆ’ ๐œ† 1 (x 1 + x 2 โˆ’ 4) โˆ’ ๐œ† 2 (x 1 + 3x 2 โˆ’ 9) Kuhn Tucker conditions are โˆ’2(

x

1 โˆ’ 4) โˆ’ ฮป 1 โˆ’ ฮป 2 = 0 โˆ’2(

x

2 โˆ’ 4) โˆ’ ฮป 1 โˆ’ 3ฮป 2 = 0

x

1 +

x

2 โ‰ค 4, ฮป 1 โ‰ฅ 0, and

x

1 + 3

x

2 โ‰ค 9, ฮป 2 โ‰ฅ 0, and ฮป 1 (

x

1 +

x

2 โˆ’ 4)= 0 ฮป 2 (

x

1 + 3

x

2 โˆ’ 9)= 0 4

When KT conditions are necessary

Let ๐‘“ and ๐‘” ๐‘— for ๐‘— = 1, โ€ฆ , ๐‘š be continuously differentiable functions of many variables and let constants. Suppose that ๐‘ฅ โˆ— ๐‘ ๐‘— for solves the problem ๐‘— = 1, โ€ฆ , ๐‘š be max ๐‘“ ๐‘ฅ ๐‘ . ๐‘ก. ๐‘” ๐‘— (๐‘ฅ) โ‰ค ๐‘ ๐‘— ๐‘“๐‘œ๐‘Ÿ ๐‘— = 1, โ€ฆ , ๐‘š .

Suppose that - either each ๐‘” ๐‘— is concave - or each ๐‘” ๐‘— is convex and there is some ๐‘” ๐‘— (๐‘ฅ) < ๐‘ ๐‘— for ๐‘— = 1, โ€ฆ , ๐‘š ๐‘ฅ such that - or each ๐‘” ๐‘— is quasiconvex, ๐›ป ๐‘” ๐‘— (๐‘ฅ โˆ— ) โ‰  (0, โ€ฆ , 0) โˆ€๐‘— , and there is some ๐‘ฅ such that ๐‘” ๐‘— (๐‘ฅ) < ๐‘ ๐‘— for ๐‘— = 1, โ€ฆ , ๐‘š .

Then there exists a unique vector ๐œ† = (๐œ† 1 , โ€ฆ , ๐œ† ๐‘š ) (๐‘ฅ โˆ— , ๐œ†) satisfies the Kuhn-Tucker conditions such that 5

Example: KT are not necessary conditions for a max max ๐‘ฅ,๐‘ฆ ๐‘ฅ ๐‘ . ๐‘ก.

yโˆ’(1โˆ’x)

3

โ‰ค 0 and y โ‰ฅ 0

The constraint does not satisfy any of the conditions in the proposition. Indeed consider the first constraint ๐ฝ = 3(1 โˆ’ ๐‘ฅ) 2 1 ๐ป = โˆ’6(1 โˆ’ ๐‘ฅ) 0 0 0 ๐ป ๐‘ = 0 3(1 โˆ’ ๐‘ฅ) 2 1 3(1 โˆ’ ๐‘ฅ) โˆ’6(1 โˆ’ ๐‘ฅ) 0 2 1 0 0 Then the constraint is not concave, convex or quasiconvex Quasiconcavity: Slides 36-37 lezione precedente 6

The solution is ๐‘ฅ = 1 ๐‘ฆ = 0 0,9 0,7 0,5 0,3 y C1 0,1 -0,1 0 0,2 0,4 0,6 0,8 1 1,2 1,4 1,6 1,8 2 -0,3 -0,5 7

The Lagrangean is ๐ฟ(๐‘ฅ) = ๐‘ฅ โˆ’ ๐œ† 1 (๐‘ฆ โˆ’ (1 โˆ’ ๐‘ฅ) 3 ) + ๐œ† 2 ๐‘ฆ.

The Kuhn-Tucker conditions are 1 โˆ’ 3๐œ† 1 (1 โˆ’ ๐‘ฅ) 2 = 0 โˆ’๐œ† 1 + ๐œ† 2 = 0 ๐‘ฆ โˆ’ (1 โˆ’ ๐‘ฅ) 3 โ‰ค 0 , ๐œ† 1 โ‰ฅ 0 , and ๐œ† 1 ๐‘ฆ โˆ’ (1 โˆ’ ๐‘ฅ) 3 = 0 โˆ’๐‘ฆ โ‰ค 0 , ๐œ† 2 โ‰ฅ 0 , and ๐œ† 2 โˆ’๐‘ฆ = 0 .

These conditions have no solution. From the last condition, either ๐œ† 2 = 0 or ๐‘ฆ = 0 . If ๐œ† 2 = 0 then ๐œ† 1 = 0 from the second condition, so that no value of ๐‘ฅ is compatible with the first condition. If ๐‘ฆ = 0 then from the third condition either ๐œ† 1 = 0 or ๐‘ฅ = 1 , both of which are incompatible with the first condition.

the sufficiency of the Kuhn-Tucker conditions (1)

Let ๐‘“ and ๐‘” ๐‘— for ๐‘— = 1, โ€ฆ , ๐‘š be continuously differentiable functions of many variables and let ๐‘ ๐‘— for ๐‘— = 1, โ€ฆ , ๐‘š be constants. Consider the problem max ๐‘ฅ ๐‘“ ๐‘ฅ ๐‘ . ๐‘ก. ๐‘” Suppose that ๐‘— โ‰ค ๐‘ ๐‘— for ๐‘— = 1, โ€ฆ , ๐‘š .

- ๐‘“ is concave and - ๐‘” ๐‘— is quasiconvex for ๐‘— = 1, โ€ฆ , ๐‘š .

If there exists ๐œ† = (๐œ† 1 , โ€ฆ , ๐œ† ๐‘š ) such that (๐‘ฅ โˆ— , ๐œ†) satisfies the Kuhn-Tucker conditions then ๐‘ฅ โˆ— solves the problem 9

the sufficiency of the Kuhn-Tucker conditions (2)

Let ๐‘“ and ๐‘” ๐‘— for ๐‘— = 1, โ€ฆ , ๐‘š be continuously differentiable functions of many variables and let ๐‘ ๐‘— for ๐‘— = 1, โ€ฆ , ๐‘š be constants. Consider the problem max ๐‘ฅ ๐‘“ ๐‘ฅ ๐‘ . ๐‘ก. ๐‘” Suppose that ๐‘— โ‰ค ๐‘ ๐‘— for ๐‘— = 1, โ€ฆ , ๐‘š .

- ๐‘“ is twice differentiable and quasiconcave and - ๐‘” ๐‘— is quasiconvex for ๐‘— = 1, โ€ฆ , ๐‘š .

If there exists ๐œ† = (๐œ† 1 , โ€ฆ , ๐œ† ๐‘š ) and a value of ๐‘ฅ โˆ— such that (๐‘ฅ โˆ— , ๐œ†) satisfies the Kuhn-Tucker conditions and ๐‘“โ€ฒ ๐‘– (๐‘ฅ โˆ— ) โ‰  0 for ๐‘– = 1, โ€ฆ , ๐‘› then ๐‘ฅ โˆ— solves the problem.

10

Necessity and sufficiency of KT conditions

A) The KT conditions are both necessary and sufficient โ€“

if

the objective function is concave and โ€“

either

each constraint is linear โ€“

or

each constraint function is convex and some vector of the variables satisfies all constraints strictly.

Necessity and sufficiency of KT conditions

B) Suppose that - the objective quasiconcave and function is twice differentiable and - every constraint is linear.

Then - If

x

* solves the problem then there exists a unique vector ฮป such that (

x

*, ฮป) satisfies the Kuhn-Tucker conditions, and - if (

x

*, ฮป) satisfies the Kuhn-Tucker conditions and

f i

' (

x

*) โ‰  0 for

i

= 1, ...,

n

then

x

* solves the problem.

max {๐‘ฅ 1 ,๐‘ฅ 2 } [โˆ’(๐‘ฅ 1

Example

โˆ’ 4) 2 โˆ’ (๐‘ฅ 2 โˆ’ 4) 2 ] ๐‘ฅ 1 ๐‘ฅ 1 ๐‘ . ๐‘ก.

+ ๐‘ฅ 2 + 3๐‘ฅ 2 โ‰ค 4 โ‰ค 9 The objective function is concave and the constraints are both linear, so the solutions of the problem are the solutions of the Kuhn-Tucker conditions.

13

Kuhn Tucker conditions are โˆ’2(

x

1 โˆ’ 4) โˆ’ ฮป 1 โˆ’ ฮป 2 = 0 โˆ’2(

x

2 โˆ’ 4) โˆ’ ฮป 1 โˆ’ 3ฮป 2 = 0

x

1 +

x

2 โ‰ค 4, ฮป 1 โ‰ฅ 0, and

x

1 + 3

x

2 โ‰ค 9, ฮป 2 โ‰ฅ 0, and ฮป 1 (

x

1 +

x

2 โˆ’ 4)= 0 ฮป 2 (

x

1 + 3

x

2 โˆ’ 9)= 0 To solve this system of condition we have to consider all possibilities about the values of lambdas We have to consider the following 4 cases: 1) ฮป 1 = ฮป 2 = 0 2) ฮป 1 >0 ฮป 2 = 0 3) ฮป 1 =0 ฮป 2 > 0 4) ฮป 1 >0 ฮป 2 > 0 14

Kuhn Tucker conditions are โˆ’2(

x

1 โˆ’2(

x

2

x x

1 1 โˆ’ 4) โˆ’ ฮป 1 โˆ’ 4) โˆ’ ฮป 1 โˆ’ ฮป 2 โˆ’ 3ฮป 2 = 0 = 0 +

x

2 + 3

x

2 โ‰ค 4, ฮป 1 โ‰ค 9, ฮป 2 โ‰ฅ 0, and ฮป 1 (

x

1 โ‰ฅ 0, and ฮป 2 (

x

1 +

x

2 โˆ’ 4)= 0 + 3

x

2 โˆ’ 9)= 0

Case 1: ฮป

1

= ฮป

2

= 0

KT conditions are โˆ’2(

x

1 โˆ’2(

x

2

x x

1 1 + โˆ’ 4) = 0 โˆ’ 4) = 0

x

2 โ‰ค 4, + 3

x

2 โ‰ค 9 Then

x

1 = 4 and

x

2 =4 It not a solution because the last two inequalities are not satisfied 15

Kuhn Tucker conditions are โˆ’2(

x

1 โˆ’2(

x

2

x x

1 1 โˆ’ 4) โˆ’ ฮป 1 โˆ’ 4) โˆ’ ฮป 1 โˆ’ ฮป 2 โˆ’ 3ฮป 2 = 0 = 0 +

x

2 + 3

x

2 โ‰ค 4, ฮป 1 โ‰ค 9, ฮป 2 โ‰ฅ 0, and ฮป 1 (

x

1 โ‰ฅ 0, and ฮป 2 (

x

1 +

x

2 โˆ’ 4)= 0 + 3

x

2 โˆ’ 9)= 0

Case 2: ฮป

1

>0 ฮป

2

= 0

KT conditions are โˆ’2(

x

1 โˆ’2(

x

2

x

1 +

x

2 โˆ’ 4) โˆ’ ฮป 1 โˆ’ 4) โˆ’ ฮป 1 โˆ’ 4= 0

x

1 + 3

x

2 โ‰ค 9, = 0 = 0 From the first 2 equations

x

1 =

x

2 Using the third equation we get

x

1 =

x

2 =2 and ฮป 1 =4 It is a solution because the last inequality is satisfied 16

Kuhn Tucker conditions are โˆ’2(

x

1 โˆ’2(

x

2

x x

1 1 โˆ’ 4) โˆ’ ฮป 1 โˆ’ 4) โˆ’ ฮป 1 โˆ’ ฮป 2 โˆ’ 3ฮป 2 = 0 = 0 +

x

2 + 3

x

2 โ‰ค 4, ฮป 1 โ‰ค 9, ฮป 2 โ‰ฅ 0, and ฮป 1 (

x

1 โ‰ฅ 0, and ฮป 2 (

x

1 +

x

2 โˆ’ 4)= 0 + 3

x

2 โˆ’ 9)= 0

Case 3: ฮป

1

=0 ฮป

2

> 0

KT conditions are โˆ’2(

x

1 โˆ’2(

x

2

x

1 +

x

2 โˆ’ 4) โˆ’ ฮป 2 โˆ’ 4) โˆ’ 3ฮป 2 = 0 = 0 โ‰ค 4

x

1 + 3

x

2 โˆ’ 9= 0 From the first 2 equations

x

2 =3

x

1 -8 Using the last equation we get

x

1 = 3.3

It is not a solution because it does not satisfy the inequality 17

Kuhn Tucker conditions are โˆ’2(

x

1 โˆ’2(

x

2

x x

1 1 โˆ’ 4) โˆ’ ฮป 1 โˆ’ 4) โˆ’ ฮป 1 โˆ’ ฮป 2 โˆ’ 3ฮป 2 = 0 = 0 +

x

2 + 3

x

2 โ‰ค 4, ฮป 1 โ‰ค 9, ฮป 2 โ‰ฅ 0, and ฮป 1 (

x

1 โ‰ฅ 0, and ฮป 2 (

x

1 +

x

2 โˆ’ 4)= 0 + 3

x

2 โˆ’ 9)= 0

Case 4: ฮป

1

>0 ฮป

2

> 0

KT conditions are โˆ’2(

x

1 โˆ’ 4) โˆ’ ฮป 1 โˆ’ ฮป 2 = 0 โˆ’2(

x

2 โˆ’ 4) โˆ’ ฮป 1 โˆ’ 3ฮป 2 = 0

x

1 +

x

2 โˆ’ 4= 0

x

1 + 3

x

2 = 0 18

KT conditions are โˆ’2(

x

1 โˆ’ 4) โˆ’ ฮป 1 โˆ’ ฮป 2 = 0 โˆ’2(

x

2 โˆ’ 4) โˆ’ ฮป 1 โˆ’ 3ฮป 2 = 0

x

1 +

x

2 โˆ’ 4= 0

x

1 + 3

x

2 = 0 Using the last two equation we get

x

1 =1.5 and

x

2 =2.5

Replacing in the first two equation we get the values of lambdas ฮป 1 =6 ฮป 2 = - 1 This is not a solution because it violates the condition ฮป 2 โ‰ฅ 0. 19

Solution is

x

1 =

x

2 =2 and ฮป 1 =4 20

Optimization with inequality constraints: non negativity constraints

The general form of such a problem is: max

x f

(

x

) subject to

g j

(

x

) โ‰ค

c j

for

j

= 1, ...,

m

and

x i

โ‰ฅ 0 for

i

= 1, ...,

n

.

Lagrangean is ๐ฟ ๐‘ฅ = ๐‘“ ๐‘ฅ โˆ’ ๐‘š ๐‘—=1 ๐œ† ๐‘— ๐‘” ๐‘— ๐‘ฅ โˆ’ ๐‘ ๐‘— โˆ’ ๐‘› ๐‘—=1 ๐œ† ๐‘š + ๐‘— (โˆ’๐‘ฅ ๐‘— ) It is a special case of the general maximization problem with inequality constraints: the nonnegativity constraint on each variable is simply an additional inequality constraint.

Specifically, if we define the function

g m

+

i

for

i

= 1, ...,

n

by

g m

+

i

(

x

) = โˆ’

x i

and let

c m

+

i

= 0 for

i

= 1, ...,

n

, then we may write the problem as max

x f

(

x

) subject to

g j

(

x

) โ‰ค

c j

for

j

= 1, ...,

m

+

n

and solve it using the Kuhn-Tucker conditions

Optimization with inequality constraints: non negativity constraints

Approaching the problem in this way involves working with

n

+

m

Lagrange multipliers, which can be difficult if

n

is large.

Then we can use an alternative approach, the

Lagrangean modified

Consider the following problem: max

x f

(

x

) subject to

g j

(

x

) โ‰ค

c j

for

j

= 1, ...,

m

and

x i

โ‰ฅ 0 for

i

= 1, ...,

n

.

The

modified Lagrangean is:

๐‘€(๐‘ฅ) = ๐‘“ (๐‘ฅ) โˆ’ ๐‘š ๐‘—=1 ๐œ† ๐‘— (๐‘” ๐‘— (๐‘ฅ) โˆ’ ๐‘ ๐‘— )

The

modified Lagrangean is:

๐‘€(๐‘ฅ) = ๐‘“ (๐‘ฅ) โˆ’ ๐‘š ๐‘—=1 ๐œ† ๐‘— (๐‘” ๐‘— (๐‘ฅ) โˆ’ ๐‘ ๐‘— ) Kuhn-Tucker conditions for the modified Lagrangean: ๐‘€ ๐‘– โ€ฒ(๐‘ฅ) โ‰ค 0 ๐‘” ๐‘— (๐‘ฅ) โ‰ค ๐‘ ๐‘— , , ๐œ† ๐‘— ๐‘ฅ ๐‘– โ‰ฅ 0 โ‰ฅ 0 and and ๐‘ฅ ๐‘– ยท ๐‘€๐‘–โ€ฒ(๐‘ฅ) = 0 for ๐‘– = 1, โ€ฆ , ๐‘› ๐œ† ๐‘— ยท [๐‘” ๐‘— ๐‘ฅ โˆ’ ๐‘ ๐‘— ] = 0 for ๐‘— = 1, . . , ๐‘š

in any problem for which the original Kuhn-Tucker conditions may be used, we may alternatively use the conditions for the modified Lagrangean. For most problems in which the variables are constrained to be nonnegative, the Kuhn-Tucker conditions for the modified Lagrangean are easier than the conditions for the original Lagrangean Example.

Consider the problem max

x

,

y xy

subject to

x

+

y

โ‰ค 6,

x

โ‰ฅ 0, and

y

โ‰ฅ 0

Function xy is twice-differentiable and quasiconcave and the constraint functions are linear, so the Kuhn-Tucker conditions are necessary and if ((

x

*,

y

*), ฮป*) satisfies these conditions and no partial derivative of the objective function at (

x

*,

y

*) is zero then (

x

*,

y

*) solves the problem.

Solutions of the Kuhn-Tucker conditions at which all derivatives of the objective function are zero may or may not be solutions of the problem We try to solve it 1) using the lagrangean 2) Using the modified lagrangean

1) Using Lagrangean

๐ฟ ๐‘ฅ, ๐‘ฆ = ๐‘ฅ๐‘ฆ โˆ’ ๐œ† 1 (๐‘ฅ + ๐‘ฆ โˆ’ 6) โˆ’ ๐œ† 2 (โˆ’๐‘ฅ) โˆ’ ๐œ† 3 (โˆ’๐‘ฆ) Kuhn Tucker conditions are: ๐‘ฆ โˆ’ ๐œ† 1 + ๐œ† 2 = 0 ๐‘ฅ โˆ’ ๐œ† 1 + ๐œ† 3 = 0 ๐œ† 1 โ‰ฅ 0, ๐‘ฅ + ๐‘ฆ โ‰ค 6, ๐œ† 1 ๐‘ฅ + ๐‘ฆ โˆ’ 6 = 0 ๐œ† 2 โ‰ฅ 0, โˆ’๐‘ฅ โ‰ค 0, ๐œ† 2 โˆ’๐‘ฅ = 0 ๐œ† 3 โ‰ฅ 0, โˆ’๐‘ฆ โ‰ค 0, ๐œ† 3 โˆ’๐‘ฆ = 0 27

We have to consider the following 8 cases: 1) ฮป 1 =0 ฮป 2 = 0 ฮป 3 = 0 2) ฮป 1 >0 ฮป 2 = 0 ฮป 3 = 0 3) ฮป 1 =0 ฮป 2 > 0 ฮป 3 = 0 4) ฮป 1 >0 ฮป 2 > 0 ฮป 3 = 0 5) ฮป 1 =0 ฮป 2 = 0 ฮป 3 > 0 6) ฮป 1 >0 ฮป 2 = 0 ฮป 3 > 0 7) ฮป 1 =0 ฮป 2 > 0 ฮป 3 > 0 8) ฮป 1 >0 ฮป 2 > 0 ฮป 3 > 0 28

Case 1: ฮป

1

=0 ฮป

2

= 0 ฮป

3

= 0

Kuhn Tucker conditions are: ๐‘ฆ = 0 ๐‘ฅ = 0 ๐œ† 1 โ‰ฅ 0, ๐œ† 2 โ‰ฅ 0, ๐‘ฅ + ๐‘ฆ โ‰ค 6, โˆ’๐‘ฅ โ‰ค 0, ๐œ† 3 โ‰ฅ 0, โˆ’๐‘ฆ โ‰ค 0, ๐œ† 1 ๐‘ฅ + ๐‘ฆ โˆ’ 6 = 0 ๐œ† 2 โˆ’๐‘ฅ = 0 ๐œ† 3 โˆ’๐‘ฆ = 0 All conditions are satisfied, but the first derivatives of the objective function, evaluated at x=y=0 are equal to zero. Then this could be a solution.

29

Consider now ฮป

1

=0

Kuhn Tucker conditions are: ๐œ† 1 โ‰ฅ 0, ๐œ† 2 ๐œ† 3 โ‰ฅ 0, โ‰ฅ 0, ๐‘ฆ + ๐œ† 2 ๐‘ฅ + ๐œ† 3 ๐‘ฅ + ๐‘ฆ โ‰ค 6, = 0 = 0 ๐œ† 1 โˆ’๐‘ฅ โ‰ค 0, โˆ’๐‘ฆ โ‰ค 0, ๐‘ฅ + ๐‘ฆ โˆ’ 6 = 0 ๐œ† 2 ๐œ† 3 โˆ’๐‘ฅ = 0 โˆ’๐‘ฆ = 0 Then ๐œ† 2 = โˆ’๐‘ฆ and ๐‘ฅ = โˆ’๐œ† 3 . If ๐œ† 2 ( ๐œ† 3 ) is strictly positive, then y (x) is strictly negative and does not satisfy the last two conditions.

This allows us to eliminate all combinations where at least one among ๐œ† 2 and ๐œ† 3 ฮป 1 =0 and is strictly positive, then combinations 3, 5, 7 Then we have to check only the combinations 2, 4, 6, 8 30

Case 2) ฮป

1

>0 ฮป

2

= 0 ฮป

3

= 0

Kuhn Tucker conditions are: ๐‘ฆ โˆ’ ๐œ† 1 = 0 ๐‘ฅ โˆ’ ๐œ† 1 = 0 ๐œ† 1 โ‰ฅ 0, ๐‘ฅ + ๐‘ฆ = 6, โˆ’๐‘ฅ โ‰ค 0, โˆ’๐‘ฆ โ‰ค 0, From the first 3 conditions we have that x = y = 3 and ๐œ† 1 =3 These values satisfy the last conditions and the derivatives of objective function evaluated in this point are different from zero.

31

Case 4) ฮป

1

>0 ฮป

2

> 0 ฮป

3

= 0

Kuhn Tucker conditions are: ๐œ† 1 โ‰ฅ 0, ๐‘ฆ โˆ’ ๐œ† 1 + ๐œ† 2 = 0 ๐‘ฅ โˆ’ ๐œ† 1 = 0 ๐‘ฅ + ๐‘ฆ โ‰ค 6, โˆ’๐‘ฅ = 0, ๐œ† 2 โˆ’๐‘ฆ โ‰ค 0 ๐œ† 1 ๐‘ฅ + ๐‘ฆ โˆ’ 6 = 0 โˆ’๐‘ฅ = 0 From condition in the 4 th line we have ๐‘ฅ = 0 , replacing in the second line we get ๐œ† 1 the initial assumption of ๐œ† 1 > 0 = 0 , a contradiction with 32

Case 6) ฮป

1

>0 ฮป

2

= 0 ฮป

3

> 0

The first two conditions are ๐‘ฆ โˆ’ ๐œ† 1 = 0 ๐‘ฅ โˆ’ ๐œ† 1 + ๐œ† 3 = 0 ๐œ† 3 > 0 implies ๐‘ฆ = 0 .

Replacing it in the first line we find that ๐œ† 1 = 0 , a contradiction with the initial assumption of ๐œ† 1 > 0 33

Case 8) ฮป

1

>0 ฮป

2

> 0 ฮป

3

> 0

Kuhn Tucker conditions are: ๐‘ฆ โˆ’ ๐œ† 1 + ๐œ† 2 ๐‘ฅ โˆ’ ๐œ† 1 + ๐œ† 3 ๐‘ฅ + ๐‘ฆ = 6 = 0 = 0 ๐‘ฅ = 0 ๐‘ฆ = 0 From the last three conditions one contradiction arises Two possible solutions 1) x = 0 and y = 0 2) x = 3 and y = 3 The second one produces the higher value of the objective function, then it is the solution of the problem 34

2) Using the modified lagrangean

๐‘€ ๐‘ฅ, ๐‘ฆ = ๐‘ฅ๐‘ฆ โˆ’ ๐œ† 1 (๐‘ฅ + ๐‘ฆ โˆ’ 6) Kuhn-Tucker conditions for the modified Lagrangean: ๐œ† 1 ๐‘ฅ โ‰ฅ 0, ๐‘ฆ โ‰ฅ 0 โ‰ฅ 0, ๐‘ฆ โˆ’ ๐œ† 1 โ‰ค 0 ๐‘ฅ โˆ’ ๐œ† 1 โ‰ค 0 ๐‘ฅ + ๐‘ฆ โ‰ค 6, ๐‘ฅ ๐‘ฆ โˆ’ ๐œ† 1 = 0 ๐‘ฆ(๐‘ฅ โˆ’ ๐œ† 1 ) = 0 ๐œ† 1 ๐‘ฅ + ๐‘ฆ โˆ’ 6 = 0 35

Kuhn-Tucker conditions for the modified Lagrangean: ๐œ† 1 ๐‘ฅ โ‰ฅ 0, ๐‘ฆ โ‰ฅ 0 โ‰ฅ 0, ๐‘ฆ โˆ’ ๐œ† 1 ๐‘ฅ โˆ’ ๐œ† 1 โ‰ค 0 ๐‘ฅ + ๐‘ฆ โ‰ค 6, โ‰ค 0 ๐‘ฅ ๐‘ฆ โˆ’ ๐œ† ๐œ† 1 1 = 0 ๐‘ฆ(๐‘ฅ โˆ’ ๐œ† 1 ) = 0 ๐‘ฅ + ๐‘ฆ โˆ’ 6 = 0 Consider a case where x=0 and y=0, then: ๐œ† 1 โ‰ฅ 0, โˆ’๐œ† 1 โˆ’๐œ† 1 ๐‘ฅ + ๐‘ฆ โ‰ค 6, โ‰ค 0 โ‰ค 0 ๐œ† 1 ๐‘ฅ + ๐‘ฆ โˆ’ 6 = 0 These conditions are satisfied only for ๐œ† 1 = 0 Then x=0 y=0 is a candidate to the solution (the derivatives of the objective function are equal to zero in this point) 36

Consider a case where ๐‘ฅ > 0 and ๐‘ฆ = 0 , then: ๐œ† 1 ๐‘ฅ > 0, โ‰ฅ 0, ๐œ† 1 โ‰ค 0 ๐‘ฅ โˆ’ ๐œ† ๐‘ฅ โ‰ค 6, 1 โ‰ค 0 ๐œ† 1 ๐‘ฅ๐œ† 1 = 0 ๐‘ฅ โˆ’ 6 = 0 From the first condition we get ๐œ† 1 = 0 Replacing ๐œ† 1 = 0 in the second condition we get ๐‘ฅ โ‰ค 0 A contradiction with the initial assumption ๐‘ฅ > 0 . 37

Consider a case where ๐‘ฅ = 0 and ๐‘ฆ > 0 , then: Replacing these values in the second condition we get ๐œ† 1 = 0 Replacing ๐œ† 1 = 0 in the first condition we get ๐‘ฆ โ‰ค 0 A contradiction with the initial assumption ๐‘ฆ > 0 .

Consider the case ๐‘ฅ > 0 and ๐‘ฆ > 0 ๐œ† 1 โ‰ฅ 0, ๐‘ฆ โˆ’ ๐œ† 1 = 0 ๐‘ฅ โˆ’ ๐œ† 1 = 0 ๐‘ฅ + ๐‘ฆ โ‰ค 6, ๐œ† 1 ๐‘ฅ + ๐‘ฆ โˆ’ 6 = 0 Then ๐‘ฆ = ๐‘ฅ = ๐œ† 1 > 0 .

The last condition implies ๐‘ฅ + ๐‘ฆ = 6 and then ๐‘ฅ = ๐‘ฆ = 3 As in the procedure using the Lagrangean 38

โ€ข http://www.economics.utoronto.ca/osborne/MathTutorial/OSMF.HTM

39