Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Need Matlab code for Constrained Particle Swarm Optimization

705 views
Skip to first unread message

Santhosh

unread,
May 27, 2010, 2:23:15 AM5/27/10
to
Hello everyone,
Please can anybody give me matlab code for Constrained Particle Swarm Optimization Algorithm? It is better if i get code which is using Lagrangian Multiplier in the above mentioned algorithm. Please help me.

us

unread,
May 27, 2010, 2:29:06 AM5/27/10
to
"Santhosh " <sant...@gmail.com> wrote in message <htl34j$jv6$1...@fred.mathworks.com>...

> Hello everyone,
> Please can anybody give me matlab code for Constrained Particle Swarm Optimization Algorithm? It is better if i get code which is using Lagrangian Multiplier in the above mentioned algorithm. Please help me.

what have YOU done so far to solve YOUR particular problem...

us

Santhosh

unread,
May 27, 2010, 4:49:05 AM5/27/10
to
"us " <u...@neurol.unizh.ch> wrote in message <htl3fi$b2a$1...@fred.mathworks.com>...


I have implemented unconstrained particle swarm optimization. now i need to solve constrained. Only change in it is, i've to convert constrained to unconstrained problem and solve by using unconstrained PSO algorithm. To convert this thing, i'm thinking to use Lagrangian Multiplier. But I'm not getting how to convert it using this.

George Evers

unread,
Aug 17, 2010, 5:42:05 PM8/17/10
to
"Santhosh " <sant...@gmail.com> wrote in message <htl34j$jv6$1...@fred.mathworks.com>...
> Hello everyone,
> Please can anybody give me matlab code for Constrained Particle Swarm Optimization Algorithm? It is better if i get code which is using Lagrangian Multiplier in the above mentioned algorithm. Please help me.

Santhosh,

One simple approach is to initialize particles until satisfying all constraints, and use only feasible positions when updating the personal and global bests [1]. This ensures that all starting points and points of attraction are feasible without adding much complexity to a computationally simple algorithm.

I suggest finding an efficient approach in the literature and contributing it to a community toolbox such as the Particle Swarm Optimization Research Toolbox [2].

[1] X. Hu and R. C. Eberhart, "Solving constrained nonlinear optimization problems with particle swarm optimization," in Proceedings of the Sixth World Multiconference on Systemics, Cybernetics and Informatics (SCI 2002), Orlando, 2002.
http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.14.6041&rep=rep1&type=pdf
[2] http://www.mathworks.com/matlabcentral/fileexchange/28291-particle-swarm-optimization-research-toolbox

Ivan Mohler

unread,
Jan 3, 2012, 7:09:08 AM1/3/12
to
"Santhosh " <sant...@gmail.com> wrote in message <htlbm1$69e$1...@fred.mathworks.com>...
hey...can you sent me all command lines and explanations, if you have, on this email for unconstrained PSO algorithm in Matlab.
imo...@fkit.hr

thanks
0 new messages