optimizing iterated objective function - containing ∑- sum operator
조회 수: 4 (최근 30일)
이전 댓글 표시
I am writing MATLAB code to minimize objective function f(x,y) - please see attached image. P and Q are readily available (known) arrays of equal size n. My major challenge is on how to deal with P and Q to formulate the objective function f(x,y) for input to the optimization algorithm (genetic algorithm). I tried using a loop to iterate through all P and Q before the optimization process but i could not understand the resulting objective function and how to apply it in the optimization algorithm. Same challenge exists with the first constraint, dealing with P and Q. Is there any possible way i can resolve this? (n,a,b,R,K and L are all known constants). Thanks in advance.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/170933/image.jpeg)
댓글 수: 0
채택된 답변
추가 답변 (2개)
Wycliff Dembe
2019년 4월 9일
편집: Wycliff Dembe
2019년 10월 24일
댓글 수: 3
Shahrooz Pouryousef
2022년 5월 11일
Hi Wycliff, I need your help. I have almost the same objective function. But I have sum over three different sets in my objective function and also for each variable I need to call a function. Would you please help me on this? I can explain more if you are here.
참고 항목
카테고리
Help Center 및 File Exchange에서 Genetic Algorithm에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!