import utility
%config InlineBackend.figure_format = 'svg'

from full_qubo_solver import FullQuboSolver as FQS
from average_partition_solver import AveragePartitionSolver as APS
from qiskit_native_solver import QiskitNativeSolver as QNS
from route_activation_solver import RouteActivationSolver as RAS
from solution_partition_solver import SolutionPartitionSolver as SPS
from dbscan_solver import DBSCANSolver as DBSCANS
from clustered_tsp_solver import ClusteredTspSolver as CTS

n = 5
m = 2
seed = 891

instance, xc, yc = utility.generate_vrp_instance(n, seed)
sps = FQS(n, m, instance)
sps.solve(solver='neal')
sps.visualize(xc, yc)