フィルターのクリア

Return values from simulannealbnd other than fval and x

1 回表示 (過去 30 日間)
Saifullah Khalid
Saifullah Khalid 2017 年 6 月 27 日
コメント済み: Saifullah Khalid 2017 年 6 月 27 日
I am optimizing an objective function which depend on profit and risk as shown below. I am using simulannealbnd function to optimize decision variable x. I want to plot profit vs risk. I am unable return the values of profit and risk for best value of decision variable x as I simulannealbnd only returns objective and x variables. I shall appreciate any help in this issue.
objective = w1* profit(x) + w2* risk(x);
  4 件のコメント
Walter Roberson
Walter Roberson 2017 年 6 月 27 日
Why not record the w result of the fmincon?
Saifullah Khalid
Saifullah Khalid 2017 年 6 月 27 日
Thanks, I was able to address issue by saving intermediate parameters

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

回答 (1 件)

Walter Roberson
Walter Roberson 2017 年 6 月 27 日

カテゴリ

Help Center および File ExchangeOptimization Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by