Only works for fully connected graphs
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.
Hi @rhgrant10 ,
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.
Thanks in advance