フィルターのクリア

Warning: Derivative finite differencing was artificially reduced to be within bound constraints

14 ビュー (過去 30 日間)
Tejas Shetty
Tejas Shetty 2018 年 2 月 12 日
回答済み: Suhan 2018 年 2 月 22 日
I am getting this error when running the file select.m in this post processing
Warning: Derivative finite-differencing step was artificially reduced to be within bound constraints. This
may adversely affect convergence. Increasing distance between bound constraints, in dimension 80, to be at
least 2.2e-20 may improve results.
> In fwdFinDiffInsideBnds
In finitedifferences
In computeFinDiffGradAndJac
In barrier
In fmincon (line 800)
In select (line 64)
  2 件のコメント
Torsten
Torsten 2018 年 2 月 12 日
You seem to define the upper bound u and the lower bound l for a solution variable such that u is equal to l. That's not good. Instead, if you want the variable to be a constant, you should define A_eq and b_eq appropriately.
Best wishes
Torsten.
John D'Errico
John D'Errico 2018 年 2 月 12 日
Never try to fix a variable to be constant by setting bounds that try to make it so. Instead, replace the variable by a constant.

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

回答 (1 件)

Suhan
Suhan 2018 年 2 月 22 日
Hi Tejas,
This error may occur if you have tolerances that are implausible for the order of magnitude of the data and because the bounds placed on some of the parameters force it to be implausible to find a solution.
To fix this, use realistic bounds and tolerances as well centering and scaling the fit.

Community Treasure Hunt

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

Start Hunting!

Translated by