필터 지우기
필터 지우기

Augmented Lagrangian and Penalty Methods

조회 수: 2 (최근 30일)
Emily Tabb
Emily Tabb 2021년 9월 23일
답변: Alan Weiss 2021년 9월 24일
Consider the following parametrized optimization problem.
min (x(1) − 1)^2 + (x(2) − 3)^2
subject to
x(1)^2 − ε ≤ x(2)
x(2) ≤ 0.
Write a nested function file to solve this problem for a given initial x = (1, 3) value and a give value of ε > 0 and to also plot the results.
I'm really stuck on how to solve this can anyone please help me
Thankyou

답변 (1개)

Alan Weiss
Alan Weiss 2021년 9월 24일
Sounds like a homework problem. I suggest that you consult the documentation for passing extra parameters, such as
or
Alan Weiss
MATLAB mathematical toolbox documentation

카테고리

Help CenterFile Exchange에서 Solver Outputs and Iterative Display에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by