这是一篇美国的matlab数学+bonus的Matlab代写
Requirement: you must write the solutions by yourself. As difffferent problems may be assigned to MATP4820 and 6610 students, you must explicitly write whether you are taking MATP4820 or 6610.
Code submission: you are required submit your source code for any coding question in LMS for verifification. In addition, include your code, if any, together with your output in one single PDF fifile.
Bonus: In addition to the bonus problems (that will be assigned occasionally), you can earn up to 5% bonus credit if you write your homework in LaTex.
Consider the problem
Argue that for any β ∈ (0, 1], the augmented Lagrangian method with initial multiplier
v (0) = 0 does not work for this instance, i.e., the generated sequence (x(k) , y(k) ) does not converge to a KKT point.
Consider the nonnegative quadratic program:
where Q is a symmetric and positive semidefifinite matrix, and X = {x ∈ Rn : xi ≥ 0, i =1, . . . , n}.Use the instructor’s provided fifile alm_qp.m to write a Matlab function alm_qp with input Q, c, A, b, initial vector x0, stopping tolerance tol, and penalty parameter β > 0. Also test your function by running the provided test fifile test_alm_qp.m and compare to the instructor’s function. Print your code and the results you get.