MATLAB: Genetic algorithm optimisation toolbox

genetic algorithm

thank you for this site,I want to optimize this problem whit genetic algorithm and i have thirty eight variable also this problem have two goal.When i start the algorithm show a error "your function must return to Scalar value" what should i do?

Best Answer

If you have a multiobjective function, then use gamultiobj instead of ga.
Alan Weiss
MATLAB mathematical toolbox documentation
Related Question