pytsp icon indicating copy to clipboard operation
pytsp copied to clipboard

Python interface to external TSP solvers

Results 8 pytsp issues
Sort by recently updated
recently updated
newest added

This code is really useful. Could you add a license to it so it can be distributed in projects with license requirements?

`from pyconcorde import atsp_tsp, run_concorde, dumps_matrix` shld be `from pytsp import atsp_tsp, run, dumps_matrix` distance matrix can be easily generated with scipy.spatial.distance_matrix no need for Mapbox Distance API ``` outf...

There's an infinite loop here in [line 146](https://github.com/perrygeo/pytsp/blob/c328a2972a5048ee8744ad5d8efa2db99090a219/pytsp/__init__.py#L146) if `start` is not a node in the graph. In your README, `matrix` only has 3 nodes labeled `0`, `1`, and `2`....

``` >>> matrix = [ ... [ 0, 2910, 4693 ], ... [ 2903, 0, 5839 ], ... [ 4695, 5745, 0 ]] >>> from pytsp import atsp_tsp, run, dumps_matrix...

``` from pyconcorde import atsp_tsp, run_concorde, dumps_matrix ``` should be ``` from pytsp import atsp_tsp, run, dumps_matrix ```

Hi, I tried to run the test, but it's ended with this error, "File format error: Can't read Explicit Lengths norm" Then I tried it also with my own matrix,...

- [ ] investigate concorde opts - [ ] add kwargs to function and pass to cli call

Dear Matt, Thanks for you prompt answer. Now compilation went fine, but I am getting this error when running test_concorde.py: 4c244:tests lquesada$ python test_concorde.py Traceback (most recent call last): File...