optimizing iterated objective function - containing ∑- sum operator
Afficher commentaires plus anciens
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.

Réponse acceptée
Plus de réponses (2)
Wycliff Dembe
le 9 Avr 2019
Modifié(e) : Wycliff Dembe
le 24 Oct 2019
3 commentaires
Muhammad Ali Zakria
le 8 Oct 2019
What is the following line doing? Is it taking some constant value from the input paramter?
x = inParam(1);
Wycliff Dembe
le 24 Oct 2019
Shahrooz Pouryousef
le 11 Mai 2022
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.
Hanne Vanduffel
le 9 Avr 2019
0 votes
Could you please share your code?
Thanks in advance!
Catégories
En savoir plus sur Solver Outputs and Iterative Display dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!