Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Genetic Algorithms - Mixing doubles and integers
Replies: 2   Last Post: Feb 13, 2014 12:03 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Dave

Posts: 2
Registered: 2/12/14
Genetic Algorithms - Mixing doubles and integers
Posted: Feb 12, 2014 7:51 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi,

quoting from:
http://www.mathworks.co.uk/help/gads/mixed-integer-optimization.html#bs1cifg

under "Characteristics of the Integer ga Solver":

"ga uses only the binary tournament selection function (SelectionFcn option), and overrides any other setting."

Is there a theoretical restriction why other tournament sizes can't be used? e.g., ternary ones? or is this just the way the implementation was chosen to be?

I tried following ga.m through but eventually got stuck at gaminpl.p , so I couldn't figure out why the prevention from using other tournament sizes for the selection.

If there is a way to get around it (assuming no theoretical restriction) I'd be grateful to hear of it (supposedly, one can always use a double instead of an int and have the fitness function round to an int but that would be suboptimal).


Thanks in advance.
Dave.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.