MATLAB: GA Toolbox maximization fucntion

genetic algorithms tool box

there is a Genetic algorithm toolbox. in which the ranking function is only aiming for the minimization of the fitness function i need to find a ranking function which aim for the maximization of the fitness function ….

Best Answer

maxfcn = @(x)-minfcn;
Just negate the min function!