From 98f018f43d20a5a3d6a63571d8e0ccf39b2240e7 Mon Sep 17 00:00:00 2001 From: UmbertoJr Date: Sat, 9 Nov 2019 16:41:14 +0100 Subject: [PATCH] solver --- src/TSP_solver.py | 2 +- src/__init__.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/TSP_solver.py b/src/TSP_solver.py index df67452..d305a73 100644 --- a/src/TSP_solver.py +++ b/src/TSP_solver.py @@ -1,7 +1,7 @@ import numpy as np from matplotlib import pyplot as plt from numpy.core._multiarray_umath import ndarray -from src.utils import * + class Solver_TSP: diff --git a/src/__init__.py b/src/__init__.py index e1e8f64..6e9c99f 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -3,6 +3,8 @@ import os if 'AI' in os.getcwd(): from src.TSP_solver import * from src.io_tsp import * + from src.utils import * else: from AI2019.src.TSP_solver import * - from AI2019.src.io_tsp import * \ No newline at end of file + from AI2019.src.io_tsp import * + from AI2019src.utils import * \ No newline at end of file