Multi-Variable Constrained Optimization of Undefined Objective Function

Hi,
I want to minimize an output that it's objective function is not available. This optimization is constrained.
Which built in function is recommended? Also if there is a code that can handle this problem, I would appreciate sharing the code with me.
Best Regards, Ali.

4 件のコメント

Torsten
Torsten 2018 年 7 月 13 日
More details are needed in order to give advice.
Ali Soleimani
Ali Soleimani 2018 年 7 月 13 日
Hey Torsten,
What kind of details are needed?
Torsten
Torsten 2018 年 7 月 13 日
E.g. what you mean by "minimize an output".
Ali Soleimani
Ali Soleimani 2018 年 7 月 13 日
The output of the objective function is the weight of a system that should be minimized. The point is that this function is not available and the weight is calculated based on some inputs (like dimensions) in another app. So the algorithm should go on some iterations. In every iteration the inputs must be generated to calculate the weight.

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

回答 (1 件)

Jeff Miller
Jeff Miller 2018 年 7 月 14 日

1 投票

You must provide an objective function in order to use MATLAB's minimization routines. If the objective function can only be computed by another app, then your MATLAB objective function will have to call this other app and return its result. This is likely to be slow, but it seems like the only option unless you want to recode that app's objective function within MATLAB.

カテゴリ

製品

リリース

R2017b

質問済み:

2018 年 7 月 13 日

回答済み:

2018 年 7 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by