Quiz 2

🔄 Local Search & Metaheuristics Overview

118 words
1 min read
Python Week 1: the first filter for runtime behavior
Visual companion
Python
Type and operator map

Python Week 1: the first filter for runtime behavior

View
Revision summary

What this note is really saying

Short form

# 🔄 Local Search & Metaheuristics Overview ## 1. 🎯 Learning Objectives - Compare iterated, stochastic, and random-restart hill climbing - Explain how VND uses multiple neighborhood structures - Choose appropriate metaheuristic for problem type ## 2.

🔄 Local Search & Metaheuristics Overview

1. 🎯 Learning Objectives

  • Compare iterated, stochastic, and random-restart hill climbing
  • Explain how VND uses multiple neighborhood structures
  • Choose appropriate metaheuristic for problem type

2. 📖 Core Content

3.1 Iterated Hill Climbing

Run HC multiple times from random starts, keep best result.

3.2 Stochastic Hill Climbing

Randomly select among improving neighbors (not just the best). Adds randomness to escape local optima.

3.3 Variable Neighborhood Descent (VND)

Switch neighborhoods systematically: N₁, N₂, ..., Nₖ. If no improvement in Nᵢ, try Nᵢ₊₁. Example for TSP: N₁=2-opt, N₂=3-opt, N₃=Or-opt.

3.4 Metaheuristic Comparison

MethodEscapes Local Optima?MemoryComplexity
Hill ClimbingNoO(1)Fast
Random RestartPartiallyO(1)Moderate
Simulated AnnealingYesO(1)Slow
Tabu SearchYesO(k)Moderate
VNDPartiallyO(1)Moderate
Document outline

Keep your place and jump directly to a heading.

Table of Contents
System Normal // Awaiting Context

Intelligence Hub

Navigate the knowledge graph to generate context. The Hub adapts dynamically to surface backlinks, related notes, and metadata insights.