solver
This commit is contained in:
parent
2e245cf572
commit
30b4cbebcd
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ class Solver_TSP:
|
||||||
def bind(self, local_or_meta):
|
def bind(self, local_or_meta):
|
||||||
assert local_or_meta in self.available_improvements, f"the {local_or_meta} method is not available currently."
|
assert local_or_meta in self.available_improvements, f"the {local_or_meta} method is not available currently."
|
||||||
self.methods.append(local_or_meta)
|
self.methods.append(local_or_meta)
|
||||||
self.name_method = ", improve with " + local_or_meta
|
self.name_method += ", improve with " + local_or_meta
|
||||||
|
|
||||||
def __call__(self, instance_, verbose=True, return_value=True):
|
def __call__(self, instance_, verbose=True, return_value=True):
|
||||||
self.instance = instance_
|
self.instance = instance_
|
||||||
|
|
Reference in a new issue