[galib] LOW_IS_BEST ? how ?

Demet Erbas Demet.Erbas at pet.hw.ac.uk
Thu Aug 21 05:49:34 EDT 2003


Hello,
I have an objective function which is to be minimized, but i cannot change
the default "minimaxi" value which is 1 (maximizing).
I've tried following ways to do that but none of them works. 
 
"pop.order(GAPopulation::LOW_IS_BEST);"
or
"params.set(gaNminimaxi, 0);" or  "params.set(gaNminimaxi,
GAPopulation::LOW_IS_BEST);"
or
"ga.minimaxi(0);" or  "ga.minimaxi(GAPopulation::LOW_IS_BEST);"
 
It's still maximizing my objective function.
Could you please help me, what should i do ?
 
Thanks,
Demet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/galib/attachments/20030821/4cfc37c7/attachment.htm


More information about the galib mailing list