exhaustive search algorithm problem
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
hi all
what is the code that find the optimum value between a group of values arranged on an array of size 1x12 that satisfy 2 inequality constraints using exhaustive search method
i want to minimize F(x) using exhaustive search algorithm
x = P_mcr
F = P_mcr * Cost
Array = [3060 3900 4080 5200 5440 4880 6100 7320 8540 9760 3480 4060
]
Cost = [1000 2000 3000 1000 3453 5466 322 6747 7574 3626 7987 3278];
F = P_mcr * Cost
P = [ 9083 4304 3840 4689 3480 2421];
[c, ceq] = constraint(x)
ceq(1) = P - P_mcr * eta_mech
ceq(2) = P_mcr * eta_mech- P - 500
c = []
0 Commenti
Risposte (1)
Mario Malic
il 21 Ott 2020
Googling the "exhaustive search algorithm", you will see what is it. It looks like you have to generate all x points for which you'll evaluate the objective function and take the one with the minimum objective function.
0 Commenti
Vedere anche
Categorie
Scopri di più su Problem-Based Optimization Setup in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!