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 个评论

More details are needed in order to give advice.
E.g. what you mean by "minimize an output".
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 个)

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.

类别

帮助中心File Exchange 中查找有关 Surrogate Optimization 的更多信息

产品

版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by