Click here to Skip to main content
15,886,074 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am quite new to C# and PSO algorithm. Recently, I am trying to optimize multi-parameters (multi- variables) of an objective function. I gave the boundary limit to each parameter, and give the inital velocity for each parameter, but I found the trial point (parameter set) always jump out of the bounday. How to let the search point stay within the space? Or something wrong with initial vecocity?

Any people who knows the pso algorithm can give this help?

Thanks in advance.

Cheers,

Sharon
Posted
Comments
Andreas Gieriet 10-Oct-12 17:32pm    
Show us your trial code... We might point to the problem location.
Cheers
Andi
Sergey Alexandrovich Kryukov 10-Oct-12 17:34pm    
And did you understand what is it all about? I did not -- please see my comment below.
--SA
Andreas Gieriet 10-Oct-12 17:49pm    
I guessed it is PSO ;-)
Yes, from the terms he uses, it's most likely Particle Swarm Optimization.
And I agree: using acronyms without spelled out full name is bad practice (especially if the term can be assumed to be only known to specialists).
Cheers
Andi
Sergey Alexandrovich Kryukov 10-Oct-12 17:33pm    
Particle Swarm Optimization? Anything else? By using abbreviations, you assume too much; avoid it. Anyway, the question lacks detail.
--SA
Sharon86 10-Oct-12 17:49pm    
Sorry, PSO is "Particle Swarm Optimization", I am thinking of "PSO" too much.

1 solution

 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 10-Oct-12 18:39pm    
Interesting link, a 5, but don't know if it helps OP.
--SA
Andreas Gieriet 11-Oct-12 14:44pm    
Hello Sergey,
interesting topic. New to me. If I only had time to get deeper into it...
Thanks for your 5!
Cheers
Andi
PS: this shows again that a simple Google search would leads often to quite good results...
Sergey Alexandrovich Kryukov 11-Oct-12 15:41pm    
Certainly. Web is becoming more serious, reliable and informative, little by little.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900