Click here to Skip to main content
11,485,965 members (80,221 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C#
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 12:22pm
Andreas Gieriet at 10-Oct-12 17:32pm
Show us your trial code... We might point to the problem location.
Sergey Alexandrovich Kryukov at 10-Oct-12 17:34pm
And did you understand what is it all about? I did not -- please see my comment below.
Andreas Gieriet at 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 at 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 at 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 at 10-Oct-12 18:39pm
Interesting link, a 5, but don't know if it helps OP.
Andreas Gieriet at 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 at 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
0 C#developer.asp 429
1 Sergey Alexandrovich Kryukov 375
2 Maciej Los 365
3 Mehdi Gholam 250
4 OriginalGriff 144
0 Sergey Alexandrovich Kryukov 8,819
1 OriginalGriff 8,047
2 Sascha Lefèvre 3,199
3 Maciej Los 2,886
4 Richard Deeming 2,370

Advertise | Privacy | Mobile
Web01 | 2.8.150520.1 | Last Updated 10 Oct 2012
Copyright © CodeProject, 1999-2015
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