from utils import random_routing_instance

from TSP.classical.gps import GPS as GPSc
from TSP.quantum.gps import GPS as GPSq
from TSP.quantum.fqs import FQS as FQSq

n=8

cost, xc, yc = random_routing_instance(n, seed=0)

GPSc(n, cost, xc, yc)

fqs = FQSq(n, cost, xc, yc)
res = fqs.solve()
fqs.visualize()

gps = GPSq(n, cost, xc, yc)
res = gps.solve()
gps.visualize()