example 23

Nicholas Cunliffe nicholas.cunliffe at student.umist.ac.uk
Mon Jan 13 11:20:39 EST 2003


I have a question about example 23.

If the example is supposed to minimize the value of the objective 
function why does it return a value of 2 (the maximum)?

If i change the minmax parameter to ga.maximise() I seem to get 
exactly the same results as ga.minimize() i.e. a function value near 
to 2? The only thing that changes is the actual genome value?
Can anyone explain this?

thanks

Nicholas




More information about the galib mailing list