Question: Q 2 . ( 8 p ) A map of a part of central Europe is shown in the figure. Use backtracking search with most

Q2.(8p) A map of a part of central Europe is shown in the figure.
Use backtracking search with most-constrained-variable heuristics and Arc Consistency Checking to
color this map using four colors (R,G,B,Y). Is it possible to color the map with three colors? Can you
prove that it is impossible? Hint: Color Austria first.Q1.(8p) The Traveling Salesman Problem (TSP) is a challenge to the salesman who wants to visit every
location exactly once and return home, as quickly as possible. Each location can be reached from
every other location, and for each pair of locations, there is metric that defines the time between them.
Given the following graph
your task is to use gradient descent to improve on the original loop, i.e. find a loop with a lower cost.
Note that at each step the method should identify the pair of edges whose endpoints can be switched to
improve the loop. The switching is done in the following manner. Given the loop a1,a2,a3,a4,a5dots,an,a1
the edges which do not share a node can be switched, for example switching the edges (a1,a2) and
(a4,a5) we obtain a new loop a1,a4,a3,a2,a5,dotsan,a1.
Start with the loop (Medford Belmont Everett Arlington Cambridge Somerville Medford)[or (M B E
ACSM ) for short]. You should stop when the loop cannot be improved anymore.
Q 2 . ( 8 p ) A map of a part of central Europe

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!