Fitness with a Penalty: Scoring Over-Weight Backpacks
This lesson is part of the course
In this lesson
You compute weight, value and excess weight of six backpack chromosomes, turn them into a penalised fitness and find the best pack.
Buy the course once for $9.99 to unlock every lesson and lab, the final exam and the certificate – lifetime access, no subscription.
Lessons in this course
- Encoding Solutions as Bit Strings: BIN2DEC & SUMPRODUCT Locked
- Fitness with a Penalty: Scoring Over-Weight Backpacks Locked
- Roulette-Wheel Selection: Cumulative Shares & MATCH Locked
- Tournament Selection: Random Entrants, Fitter One Wins Locked
- Single-Point Crossover: LEFT, RIGHT & a Gene-Wise IF Locked
- Bit-Flip Mutation: Flip a Gene When u < pm Locked
- One Full Generation: Select, Cross, Mutate, Re-Score Locked
- Convergence over Generations vs the Brute-Force Optimum Locked