mikedbjones/Geographic-TSP

ConcordeNotFoundError(concorde)

Closed this issue · 5 comments

Hi, I am trying to use your model your program, and I could not run the solve_concorde() function. I keep getting the ConcordeNotFoundError even though I have downloaded Concorde and made it executable in my path. Can you show me how to place the executable in my path? I am using macOS.

Hi @alexl011 did you follow this link?

Yes, I did but I still wasn't able to run Concorde. I'm not sure if my procedures were correct. What does it mean to "Add either the executable files themselves OR symlinks to the executable into ~/bin" ?

Try this:

  1. add concorde executable to home/username/bin
  2. edit the ~/.bashrc file and add this to the end: export PATH="/home/username/bin:$PATH"

Now when you or pyconcorde runs the concorde command, it automatically looks in the bin directory and finds the program there.

Hi, but when I try to run the concorde command, it gives me a zsh: command not found: concorde error

Ok, but this is not an issue with this notebook, it's a Mac OS/Bash issue that I can't help you with further.