Skip to content

camilacastano/local-search-CS-algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Local Search and Constraint Satisfaction Problems

It is important on the start of the AI journey to understand basic algorithms, their functions and limitations on current data or task we're going to be working with. That's why this assignment present 9 different structures to put them to the test and comparison, and depending on results, see which one is more effricient for this problem. Have in mind that we're doing a all 9 tests for an specific problem called "Travel Salesman Problem (TSP).

image

Known as an optimization challenge asking the shortest possible route to visit a list of cities only once and return to the origin city.

For each algorithm, it was provide a functional and well-documented implementation.

Algorithms to Implement:

  1. Random walk
  2. Hill climbing
  3. Randomized hill climbing
  4. Gradient ascent (steepest ascent)
  5. Gradient descent
  6. Simulated annealing
  7. Eight queens problem
  8. Map coloring
  9. Magic triangle

On the notebook provided with the structure and solutions, you will find little descriptions of the functions and the final comparison between the 9 algorithms tested. 😀

About

The goal of this assignment is for students to implement and demonstrate an understanding of a variety of fundamental local search and Constraint Satisfaction Problems algorithms.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors