This is the code I wrote for teaching Modern Heruritic using R language at Wright State University in 2012 Fall.
It includes:
- Genetic Algrothim(GA) for knapsack problem, set covering problem.
- Simulated Annealing(SA) for travelling salesmen problem
- Golden search
- Tabu Search for traveling salesmen problem.