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 comentarios

More details are needed in order to give advice.
Hey Torsten,
What kind of details are needed?
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.

Iniciar sesión para comentar.

Respuestas (1)

Jeff Miller
Jeff Miller el 14 de Jul. de 2018
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.

Categorías

Productos

Versión

R2017b

Preguntada:

el 13 de Jul. de 2018

Respondida:

el 14 de Jul. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by