How to solve an optimisation problem when the decision variables of my objective function are function of objective function?

1 view (last 30 days)
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?

Answers (1)

John D'Errico
John D'Errico on 22 Oct 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 Comments
Walter Roberson
Walter Roberson on 23 Oct 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) ?

Sign in to comment.

Categories

Find more on Get Started with Optimization Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!