Numeric-Exam
Numeric-Exam
Email: _____________________
Instructions:
Q1 Q2 Q3 Q4 Q5 Q6
4pts 6pts 15pts 10pts 14pts 11pts
Good luck
1
Name: _____________________________ Student number: _______________________
2
Name: _____________________________ Student number: _______________________
3
Name: _____________________________ Student number: _______________________
min 𝑓(𝑥)
∈ℝ
3 −2 4
where 𝑓(𝑥) = 𝑥 𝐴𝑥 − 𝑏 𝑥 + 𝑐 for 𝐴 = , 𝑏= and 𝑐 = 2
−2 6 2
a) Show that 𝐴 is positive definite [2pts]
b) Determine ∇𝑓(𝑥) and 𝐻(𝑥) [2pts]
c) Find the local minima using the necessary and sufficient second order conditions. Which
one the is global minima [4pts]
4
Name: _____________________________ Student number: _______________________
d) Determine the exact line search parameter 𝑡 which minimize the 𝑓(𝑥 − 𝑡∇𝑓(𝑥 ))
where the starting point 𝑥 = (0, 0) [4pts]
e) Calculate one step of the steepest descent method from 𝑥 = (0, 0) using the step
length computed in (d) [3pts]
5
Name: _____________________________ Student number: _______________________
6
Name: _____________________________ Student number: _______________________
Based on the initial point of 𝑥 ( ) = (−3, 4) and radius of the trust region at the start of the
iteration being Δ = 1, show two iterations of solving the given problem using
7
Name: _____________________________ Student number: _______________________
8
Name: _____________________________ Student number: _______________________
−10 ≤ 𝑥 ≤ 10
𝑥∈ℝ
Suppose a pseudo code to solve the given problem is also given as follows:
a. Write a MATLAB code of the algorithm to solve the given optimization problem. [7pts]
9
Name: _____________________________ Student number: _______________________
10