Solving Constrained Convex Optimization Problems Using Gradient Descent

4 ビュー (過去 30 日間)
Li Qing
Li Qing 2022 年 1 月 26 日
コメント済み: Li Qing 2022 年 1 月 27 日
The paper only says that the optimal value can be obtained by the gradient descent method. I downloaded some code about gradient descent on MATLAB, and the objective functions are relatively simple, such as f = x^2 + y^2 + 5, and the optimization problems are all unconstrained. How can I solve the following problem using gradient descent? Is there an example to refer to?
  2 件のコメント
Torsten
Torsten 2022 年 1 月 26 日
Try fmincon.
Li Qing
Li Qing 2022 年 1 月 27 日
Thanks!

サインインしてコメントする。

採用された回答

Alan Weiss
Alan Weiss 2022 年 1 月 26 日
That problem does not look unconstrained to me: you have two sets of constraints listed.
But the main point is twofold: there is no built-in code for gradient descent in Optimization Toolbox™, but there are several solvers (such as fmincon, which Torsten mentioned) that can address constrained nonlinear optimization problems.
You might find the Problem-Based Optimization Workflow to be the most natural way to formulate and solve your problem.
Good luck,
Alan Weiss
MATLAB mathematical toolbox documentation

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeNonlinear Optimization についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by