Closed Kuifje02 closed 4 years ago
Hi @Kuifje02! Cheers for the bug. I've dug into it and realised there was a problem with the heuristic function used to call the networkx algorithm astar_path. I've been making some changes so will fix soon!
Created a test file with the example tests_issue20.py
.
It seems to work now.
Describe the bug The tabu algorithm violates resource constraints
To Reproduce
Expected behavior
In other words, the Tabu path seems to violate the second resource constraint, as path Source-3-2-1-Sink consumes 3 units of the second resource, and max_res = [M,2]. The bidirectional version seems to work.