[galib] Similar to Example 9 with discrete variable

Sandip Karale sandipkarale at gmail.com
Mon Nov 26 08:27:49 EST 2007


Hi All,


I want to find maximum value in the function.
   y =  - ( x1^2 / x3 ) - ( x3 / x2^2 )

with the constraints
              -5 <= x1 <= 5
              -5 <= x2 <= 5
and         x3  =  { 4, 6, 7, 13}

I am not getting how to add the phenotype for the discrete variable x3.



Thanks,

Sandy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/galib/attachments/20071126/17c8cca8/attachment.htm


More information about the galib mailing list