An objective function scores how well a candidate solution performs. In a genetic algorithm, it assigns each candidate a fitness score used to select stronger candidates for the next generation. section 2.5
A useful objective function is essential to evaluating generated solutions. The score helps guide the search, but a genetic algorithm may end with a satisfactory rather than perfect solution. section 2.5





























