06.01.2015 Views

The Steepest Descent Algorithm for Unconstrained Optimization and ...

The Steepest Descent Algorithm for Unconstrained Optimization and ...

The Steepest Descent Algorithm for Unconstrained Optimization and ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

isection algorithm <strong>for</strong> your line-search, with the stopping criterion<br />

that |h ′ (˜α)| ≤ ɛ = 10 −6 . Run your algorithm <strong>for</strong> θ = 10 <strong>and</strong> <strong>for</strong><br />

θ = 100, using the following starting points.<br />

• x 0 =(8, 90) T .<br />

• x 0 =(1, 40) T .<br />

• x 0 =(15, 68.69) T .<br />

• x 0 =(10, 20) T .<br />

What linear convergence constants do you observe <strong>for</strong> each of the above<br />

starting points<br />

Helpful Hint: Note that f(x 1 ,x 2 ) is only defined on the domain<br />

X = {(x 1 ,x 2 ) | x 1 > 0,x 2 > 0,x 1 + x 2 < 100,x 1 −x 2 < 50}. If you are<br />

at a point x ¯ = (¯ x 1 , x¯ 2 ) <strong>and</strong> you have computed a direction d ¯= (d¯ 1 , d¯<br />

2 ),<br />

then note that a value of the upper bound ˆα is effectively given by the<br />

largest value of α <strong>for</strong> which the following constraints are satisfied:<br />

x¯ 1 +αd¯ 1 > 0, x¯ 2 +αd¯ 2 > 0, x¯ 1 +αd¯ 1+¯ x 2 +αd¯ ¯ ¯ ¯ ¯<br />

2 < 100, x 1 +αd 1 −x 2 −αd 2 < 50.<br />

<strong>The</strong> largest value of α satisfying these conditions can easily be computed<br />

by applying appropriate logic.<br />

Important Note: Please keep the value of θ as a specific comm<strong>and</strong><br />

in your code. <strong>The</strong> reason <strong>for</strong> this is that later in the semester, we will<br />

consider an algorithm where we iteratively change the value of θ. It<br />

will then be useful <strong>for</strong> your code to have a line in it where θ can be<br />

set <strong>and</strong> re-set.<br />

28

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!