MATLAB: How i can apply the genetic algorithm

algorithmgenetic algorithmMATLABoptimizationOptimization Toolboxtoolbox

I'am working on nonogram puzzle to solve it with genetic algorithm
if i know the fitness function
how i can apply the genetic algorithm to solve it ??

Best Answer

ga(@FitnessFunction, NumberOfVariables)
where FitnessFunction is the name of the fitness function that you indicate you already know.
Related Question