Simulated Annealing with two vector Decision Variables
Afficher commentaires plus anciens
I have an objective function which takes two distinct vector (price1 and price2) decision variables each 24 elements long and evaluate to a scaler value. I want to get an optimized values for these two vectors (price1 and price2) using Matlab simulannealbnd function. I am not sure whether this Matlab function can take two vectors as input at a time and optimize or I have to do iteratively, optimize price1 while fixing price2 vice versa. The objective function is:
profit = sum(sum(W.*price1(1:4)) + sum(Y(1:24).*price2(1:24))
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Econometrics Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!