Population-Based Metaheuristics
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.
For detailed information regarding the evaluation of CSI 4106, refer to the course evaluation webpage. The evaluation period for the Fall term is November 23 to December 4, 2026.
Prepare
- Russell and Norvig (2020), pages 115–119.
- The Knapsack Problem & Genetic Algorithms — Computerphile, 12 min 12 s, 2020-10-01.
Participate
Practice
- Greedy and genetic algorithms for the 0/1 knapsack problem (PDF, Jupyter Notebook) — A self-contained companion with the lecture implementations and a reproducible comparison.
- Sequence design with a genetic algorithm and a CNN fitness function (PDF, Jupyter Notebook) — A self-contained companion connecting the Lecture 15 regressor to sequence optimization.
- Explain why a high penalized fitness need not identify a feasible solution, and why the program retains its best feasible result separately.
- Predict how bit mutation and elitism affect one generation before executing the corresponding examples.
Next lecture
Lecture 21 examines representations, alternative operators, and controlled experiments, including the permutation operators used in Assignment 4.
References
Russell, Stuart, and Peter Norvig. 2020. Artificial Intelligence: A Modern Approach. 4th ed. Pearson. http://aima.cs.berkeley.edu/.