Click here to Skip to main content
Rate this: bad
good
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.
 
Cheers,
 
Sharon
Posted 10-Oct-12 11:22am
Comments
Andreas Gieriet at 10-Oct-12 17:32pm
   
Show us your trial code... We might point to the problem location.
Cheers
Andi
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.
--SA
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).
Cheers
Andi
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.
--SA
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
good
Please Sign up or sign in to vote.

Solution 1

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

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

  Print Answers RSS
0 Maciej Los 450
1 OriginalGriff 373
2 Sergey Alexandrovich Kryukov 239
3 CPallini 189
4 CHill60 180
0 OriginalGriff 6,092
1 Sergey Alexandrovich Kryukov 5,022
2 Maciej Los 3,269
3 Peter Leow 3,164
4 DamithSL 2,490


Advertise | Privacy | Mobile
Web03 | 2.8.140721.1 | Last Updated 10 Oct 2012
Copyright © CodeProject, 1999-2014
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