fmincon solver for an optimization problem

Hello, I want to use fmincon solver for an optimization problem which its objective includes two matrix inputs. I want to know that does fmincom solver support multiple matrix inputs to be optimized?

3 件のコメント

Torsten
Torsten 2019 年 8 月 9 日
The objective of fmincon must return a single quantity, thus a scalar. If you want to optimize several quantities simultaneously, your objective must aggregate these quantities to a single number (e.g. by giving weights to the different quantities and summing them up).
Is it this what you meant with your question ?
shahriar gh
shahriar gh 2019 年 8 月 9 日
hi Torsten,
alright. yes, that was helpful, thanks
Walter Roberson
Walter Roberson 2019 年 8 月 9 日
The objective of fmincon supports only a single array as input to be optimized on. However you can put all of the arrays together into one vector and then extract and reshape the parts. "Problem based optimization" will do that for you.

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

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeProblem-Based Optimization Setup についてさらに検索

製品

質問済み:

2019 年 8 月 9 日

コメント済み:

2019 年 8 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by