Genetic Algorithms: Representations and Experiments
CSI 4106 Introduction to Artificial Intelligence
Important
Deadline: Assignment 4 must be submitted individually by December 9, 2026, at 11 PM. Consult the assignment description and access instructions on Brightspace.
This presentation covers the permutation operators and controlled comparisons used in the assignment.
Prepare
- Russell and Norvig (2020), pages 115–119.
- Review Lecture 20, especially representation, fitness, selection, crossover, mutation, and elitism.
- Recall the swap and inversion moves for TSP tours from Lecture 19.
Participate
Practice
- Greedy and genetic algorithms for the 0/1 knapsack problem (PDF, Jupyter Notebook) — Reuse the independently executable companion from Lecture 20.
- Sequence design with a genetic algorithm and a CNN fitness function (PDF, Jupyter Notebook) — Explore categorical sequences, uniform crossover, and a learned fitness function.
- Trace circular-fill OX1 by hand and explain how it preserves a valid tour.
- Explain the difference between mutation per gene and mutation per offspring.
- Compare population sizes under a fixed fitness-evaluation budget. When studying budget itself, keep the other settings fixed.
Next lecture
Lecture 22 introduces adversarial search with minimax and alpha–beta pruning.
References
Russell, Stuart, and Peter Norvig. 2020. Artificial Intelligence: A Modern Approach. 4th ed. Pearson. http://aima.cs.berkeley.edu/.