How to solve an optimisation problem when the decision variables of my objective function are function of objective function?
조회 수: 1 (최근 30일)
이전 댓글 표시
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
답변 (1개)
John D'Errico
2016년 10월 22일
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
Walter Roberson
2016년 10월 23일
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) ?
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with Optimization Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!