Scaling in optimization problems
5 ビュー (過去 30 日間)
古いコメントを表示
Assume a simple example, with an optimization problem:max
subject to
, with
and
given. I want to solve it with fmincon (because there will be other constraints as well), but with
the derivate with dV/dc will get ever smaller with t.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1270970/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1270975/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1270980/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1270985/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1270990/image.png)
A similar problem occurs when we have:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1270995/image.png)
Is there a way to scale the problem such that the derivates will be of similar size? Otherwise the solution for large t (or smalle alpha) will be less accurate, right?
(One work around would be to use a value function, and solve for each t, but I don't want to do that).
0 件のコメント
採用された回答
Matt J
2023 年 1 月 22 日
編集済み: Matt J
2023 年 1 月 22 日
the derivate with dV/dc will get ever smaller with t.
It's not clear that that matters because the values of c are also influenced by the constraints and their derivatives.
Regardless, though, most fmincon algorithms are Newton-like, which means they already normalize dV/dc by second derivatives.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Nonlinear Optimization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!