Click here to Skip to main content
13,199,852 members (71,269 online)
Rate this:
Please Sign up or sign in to vote.
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.


Posted 10-Oct-12 11:22am
Andreas Gieriet 10-Oct-12 17:32pm
Show us your trial code... We might point to the problem location.
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.
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).
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.
Sharon86 10-Oct-12 17:49pm
Sorry, PSO is "Particle Swarm Optimization", I am thinking of "PSO" too much.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Sergey Alexandrovich Kryukov 10-Oct-12 18:39pm
Interesting link, a 5, but don't know if it helps OP.
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!
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.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.171020.1 | Last Updated 10 Oct 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100