Homework 4 (Optimization)
- Due Dec 7, 2022 by 11:59pm
- Points 100
- Submitting a file upload
Module 4 (Optimization)
Review the R/RStudio installation and R fundamentals Links to an external site. as well as the Optimization Chapter Links to an external site. of the DSPA Textbook Links to an external site.. You can see a template for HW4 Rmd + HTML in the uploaded files here.
1. Find the extrema of this variant of the Rosenbrock function
Links to an external site., (100(x2−y)2+(x−1)2+100(z2−w)2+(z−1)2),
N=4, and compare your estimates against the Wolfram Alpha Optimizer
Links to an external site..
2. Find the minimum of the constrained Mishra's Bird function
Links to an external site., f(x,y)=sin(y)e[(1−cosx)2]+cos(x)e[(1−siny)2]+(x−y)2, subject to the constraint
(x+5)2+(y+5)2<25.
3. Minimize the function f(x,y,z)=−(x3+5y−2z)
subject to \begin{cases}
x -\frac{y}{2}+z^2 \leq 50\\
\mod(x, 4) + \frac{y}{2} \leq 1.5
\end{cases} . Check you solution against the Wolfram Alpha solution.
Links to an external site.
Your submission should include two files: RMD (source) and HTML (knitted report).
Rubric
Criteria | Ratings | Pts | ||
---|---|---|---|---|
Correctness and scientific validity
threshold:
pts
|
|
pts
--
|
||
Result reproducibility
threshold:
pts
|
|
pts
--
|
||
Content focus, presentaiton style, and clarity
threshold:
pts
|
|
pts
--
|
||
Total Points:
100
out of 100
|