仓库源文站点原文


layout: post title: "AI 笔记 Week 04 Simulated Annealing" date: "2017-10-12 02:23:45" categories: 计算机科学 excerpt: "This week you should watch Lesson 3, Simulated Annealing, and read Chapt..."

auth: conge

This week you should watch Lesson 3, Simulated Annealing, and read Chapter 4 in AIMA (Russell & Norvig). 

Assignment 2: Tridirectional Search Due: September 24

Traveling Salesman Problem

NP hard: Non-deterministic polynomial time

Optimal solution: not cross pathes

Quiz: Challenge Question

Challenge Question.png

4-Queens

4-Queens

Try some stupid things first and then add intelligence until we solve the problem

Solving a 5-Queen problem

N-Queens Heuristic Function

n-queens with local minima

local minima

Hill Climbing

local Maximum

Random Restart

radom start

quiz

quiz

step size

Quiz

Annealing

Image sources:

simulated annealing

annealing algorithm

Local Beam Search

LBS

Genetic Algorithms

representation N-Queens problem

coding system for n-queens problem the maxim fitness of n-queens problem

Maxim number of attaching queens is n!/(n-2)!/2!

GA example

image.png

mutation

mutation

GA quiz

image.png

challenge question revisited

challenge question

For another viewpoint and some extensions, check out Charles Isbell and Michael Littman’s course section on this topic: Randomized Optimization

20170917 - v01: 3 hours