You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to use the custom class IncompleteGraphSolver from #21 and got the error:
NameError: name 'i' is not defined.
Then I change the iteration to properly get an ant from ants and got another error:
...line 231, in optimize
data.sort()
TypeError: '<' not supported between instances of 'Ant' and 'Ant'
I tried some more and changed the optimizer to not use the sort method and got another error:
line 274, in global_update
if edge in solution.path:
AttributeError: 'Ant' object has no attribute 'path'
Can you please point any direction? What am I missing here?
I really need acopy to work on an incomplete graph.
Was trying to run the acopy solver for fully connected graphs and it works fine but throws a key error whenever the graph is not fully connected.
The text was updated successfully, but these errors were encountered: