need particle swarm optimization code for maximizing a function

4 visualizzazioni (ultimi 30 giorni)
Can you help me provide the sample PSO code for the following problems.
Maximize, Z=3x1+5x2 Subject to, x1<=4, X2<=6, 2x1+3x2<=18, x1>=0 and x2>=0.. Has recent version of Matlab included PSO?
  1 Commento
noosa
noosa il 22 Nov 2011
please had you find a solution for this problem??? I have the same problem as you !

Accedi per commentare.

Risposte (1)

Walter Roberson
Walter Roberson il 7 Giu 2011
Have you considered the MATLAB File Exchange contribution Particle Swarm Optimization Toolbox ?
Or any of these contribution: #11559 #6497 #29291 #29266 #22228 -- amongst others?
  4 Commenti
Walter Roberson
Walter Roberson il 7 Giu 2011
Some of those entries might be directly suitable for solving the problem you pose. Others are demonstrations or toolboxes that guide you or allow you to construct relevant PSO code.
Neeraj Bhanot
Neeraj Bhanot il 16 Dic 2013
same problem here.can anyone please mail the code at neerajbhanot.iitd@gmail.com for the above mentioned objective function with constraints. thanks

Accedi per commentare.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by