{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Rosenbrock Banana Function

Rosenbrock Banana Function - Rosenbrock Banana Function b x...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Rosenbrock Banana Function b x y , ( ) 1 x ( ) 2 y x 2 ( ) 2 + := dbdx x y , ( ) x 1 x ( ) 2 y x 2 ( ) 2 + d d 2 ( ) 2 x 4 y x 2 ( ) x + := dbdy x y , ( ) y 1 x ( ) 2 y x 2 ( ) 2 + d d 2 y 2 x 2 := b x 2 := y 0 := Minimize b x , y , ( ) 1 1 = <= Minimum found using built-in function dbdx 1 1 , ( ) 0 = <= Check that the gradient is zero at the minimum dbdy 1 1 , ( ) 0 =
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon