PSO code (in java) for minimize f(x)=x1^2+x2^2, -5<=x1,x2<=5

38 views
Skip to first unread message

Sandipan Chakraborty

unread,
Aug 14, 2014, 12:09:28 AM8/14/14
to manopt...@googlegroups.com
I am working on PSO.Its our college project actually.So could you please give me its source code(in java).The one am working on is Minimizef(x)=x1^2+x2^2, -5<=x1,x2<=5

It would be a great help if you please give me its code.I will be forever grateful to you.

Nicolas Boumal

unread,
Aug 14, 2014, 3:02:47 AM8/14/14
to
Dear Sandipan,

All our code is in Matlab and is available from the website. You are welcome to take a look at the file manopt/solvers/pso/pso.m if this can help.

Good luck with your project,

Nicolas
Reply all
Reply to author
Forward
0 new messages