Topic:-CA-1: Advanced Search and Optimization Techniques
Topic:-CA-1: Advanced Search and Optimization Techniques
OPTIMIZATION TECHNIQUES
ARTIFICIAL INTELLIGENCE (OE-EE 701A)
CA-1
NAME- SAURABH JAISWAL
ROLL NO.- 35500721002
REG. NO.- 213550101610039
DEPT.- ELECTRICAL ENGINEERING
SEMESTER- 7TH SEM.
SUBMITTED TO- DR. SUMANTA ROY (ASSOCIATE PROFESSOR DEPT. OF COMPUTER SCIENCE)
• Iterative Deepening A* (IDA*):** Combines the depth-first search's space efficiency and the A*
algorithm's optimality. It performs a series of depth-limited searches, increasing the depth limit with
each iteration.
• Simplified Memory-Bounded A* (SMA*):** Expands the least-cost node but keeps track of only the
best alternatives in memory, discarding nodes when memory is full and retaining essential paths.
OPTIMIZATION PROBLEMS
1. Hill Climbing:
An iterative algorithm that starts with an arbitrary solution and makes small changes to the solution,
choosing the change that improves the objective function the most.
•Variants:
•Simple Hill Climbing: Selects the first neighbor better than the current state.
•Steepest-Ascent Hill Climbing: Evaluates all neighbors and selects the best one.
•Limitations: Can get stuck in local optima, plateaus, or ridges.
2. Simulated Annealing:
A probabilistic technique that explores the solution space by allowing occasional steps that worsen the
objective function, to avoid local optima.
•Process:
•Starts at a high "temperature" which gradually decreases.
•At each step, a random move is accepted if it improves the solution or, with a probability
that decreases with temperature, if it worsens it.
•Applications: Useful in scenarios where the search space has many local optima.
3. Local Beam Search:
• An algorithm that keeps track of multiple candidate solutions (the "beam") at once.
• Process:
• Starts with a set of random states.
• Expands all states in the beam, keeping only the best resulting states.
• Advantages: More exploration of the search space compared to single-path algorithms.
GENETIC ALGORITHMS IN AI: CONCEPTS
AND APPLICATIONS
• Genetic Algorithms (GAs) are inspired by the process of natural selection and genetics. They are
used to solve optimization and search problems.
• Basic Concepts:
• Population: A set of candidate solutions.
• Chromosomes: Representations of candidate solutions.
• Genes: Parts of a chromosome representing solution components.
• Fitness Function: Evaluates how close a given solution is to the optimum.
• Selection: Process of choosing parent solutions based on fitness.
• Crossover: Combining parts of two parents to create offspring.
• Mutation: Randomly altering genes to maintain diversity.
• Applications: Used in optimization problems such as scheduling, design,
machine learning hyperparameter tuning, and evolving neural network
architectures.
CONSTRAINT SATISFACTION PROBLEMS AND
LOCAL SEARCH SOLUTIONS
• Constraint Satisfaction Problems (CSPs) involve finding a solution that satisfies a set of constraints.
• Definition:
• Variables: Elements to be assigned values.
• Domains: Possible values for each variable.
• Constraints: Restrictions on variable assignments.
Image
• https://www.slideshare.net/slideshow/i-hill-climbing-algorithm
-ii-steepest-hill-climbing-algorithm/247883377
• https://www.geeksforgeeks.org/search-algorithms-in-ai/
• https://wikidocs.net/189100
THANK YOU