Fmincon Lower Bound issues

Dear Community,
I am using the fmincon command for optimization of a Term structure model. I know that all parameters are constrained below by zero and some results suggest that some are in fact zero. When I now use the fmincon command for optimization, MATLAB sets all parameters for which I supply a zero starting value equal to 0.99. Furthermore, all values which are below 1e-04 also get set to a value of 0.99. Does anyone know why this occurs, as the initial values to not violate the lower bound if they are set equal to zero and certainly not the close to zero values.
Thank you very much!!

2 件のコメント

Walter Roberson
Walter Roberson 2018 年 3 月 6 日
We will probably need your code for testing.
Oliver Krek
Oliver Krek 2018 年 3 月 7 日
I have uploaded all code files used. The file with the name FiltPapPara is the script and the others are the functions.
Thanks

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

回答 (1 件)

Alan Weiss
Alan Weiss 2018 年 3 月 7 日

1 投票

By default, fmincon uses the 'interior-point' algorithm, which strictly stays away from bounds. If you want results exactly at the bounds, then I suggest that you use the 'sqp' algorithm. Set the algorithm using the Algorithm option.
Alan Weiss
MATLAB mathematical toolbox documentation

1 件のコメント

Oliver Krek
Oliver Krek 2018 年 3 月 9 日
Thank you very much!!!

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

カテゴリ

ヘルプ センター および File ExchangeGet Started with Optimization Toolbox についてさらに検索

質問済み:

2018 年 3 月 6 日

コメント済み:

2018 年 3 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by