How to solve an optimisation problem when the decision variables of my objective function are function of objective function?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Eg. Obj function be t. Let x y z be decision variable. t=F(x,y,x). But the problem is x,y,z are function of t i.e x(t) y(t) z(t). How to go about solving this?
0 comentarios
Respuestas (1)
John D'Errico
el 22 de Oct. de 2016
If x,y,z are all functions of t, then t is the real variable here. You are not controlling x,y,z, only t. So this appears to be a single variable problem, from your statement. Use a tool like fzero or fminbnd as appropriate.
It may be your problem is not what you state. In that case, explain it more clearly.
2 comentarios
Walter Roberson
el 23 de Oct. de 2016
Are you using implicit equations where your variables occur on both side of the equation? Such equations are almost always continuous rather than discrete, but decision variables are discrete by their nature.
Are you using decision variables that change in time in a way that there is no known formula for, or possibly in a way that there cannot be any formula for (e.g., electricity needs might have statistical relationships to climate or to previous days, but are not completely predictable and any one hour you have a particular demand) ?
Ver también
Categorías
Más información sobre Get Started with Optimization Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!