Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please Answer ALL THE QUESTIONS Artificial I ntelligence Assignment #2 1. I mplement a genetic algorithm to find a solution to the Traveling Salesman Problem

Please Answer ALL THE QUESTIONS

image text in transcribed

Artificial I ntelligence Assignment #2 1. I mplement a genetic algorithm to find a solution to the Traveling Salesman Problem for the following dist ance matrix 8 9 10 11 12 13 1415 3 10 12 4 2 9 4 5 174185- 6 132 20 3 - 7 19 7111 5 18 8 11 1914 8 6 20 9 6 12 16 19 2 4912- 10 5 131 11 1714 20 11 5155 20 814 12 1 3 27 12 713 2 13 14 14 13 12 7616 8 10 3616 10 15 1 14 7 18155 8 16 18 3 15 20 8 13 9 15 1016 18 2 17 9 199 3 1914 7 1- 6 3 10711 I nstructions There are 15 cities indicated by 1-15. The distance from city 1 to city 1 is not hing. The distance from city 2 to city 1 is 1. The distance from city 3 to city 1 is 10, and so forth . .Write the algorithm in pseudo code or in any notation you want that finds the shortest route to take between the cities. You do not need to implement the algorithm in a programming language You are just defining and describing a solution to the Traveling Salesman Problem using the infor mat ion in the chart

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft Visual Basic 2017 For Windows Web And Database Applications

Authors: Corinne Hoisington

1st Edition

1337102113, 978-1337102117

More Books

Students also viewed these Databases questions

Question

Is the person willing to deal with the consequences?

Answered: 1 week ago