From 465d2d68e75f10665b1c82fccdd7d81f5ed3ae15 Mon Sep 17 00:00:00 2001 From: UmbertoJr Date: Mon, 18 Nov 2019 08:28:06 +0100 Subject: [PATCH] solver --- src/TSP_solver.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/TSP_solver.py b/src/TSP_solver.py index 301d903..8e04d7b 100644 --- a/src/TSP_solver.py +++ b/src/TSP_solver.py @@ -2,6 +2,7 @@ from numpy.core._multiarray_umath import ndarray import os from time import time as t import numpy as np +import matplotlib.pyplot as plt if 'AI' in os.getcwd(): from src import * else: @@ -52,6 +53,7 @@ class Solver_TSP: end = t() self.time_to_solve = np.around(end - start,3) + self.solved = True self.evaluate_solution() self._gap() if verbose: