Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use in non-routing problem #545

Open
hanslovsky opened this issue Jun 18, 2022 · 0 comments
Open

Use in non-routing problem #545

hanslovsky opened this issue Jun 18, 2022 · 0 comments

Comments

@hanslovsky
Copy link

Thank you for your great work contributing a TSP solver to the Java open source community!

I used TSP for sorting images based on some similarity criterion. At the time, I used the concord solver but

  1. I have to write the distance matrix to a file for consumption by concord in a separate process
  2. concorde requires commercial CPlex solver

I just came across jsprit and would like to explore it as a replacement for the concorde solver. jsprit is centered around vehicle routing but I truly only need a TSP solver for a distance matrix that I provide. Do you have an example for such a use case? In summary, I would like to:

  1. Populate a matrix with distances (VehicleRoutingTransportCostsMatrix looks like a promising candidate) that are not tied to any 2D or 3D location.
  2. Build and solve TSP with these distances. Number of vehicles, capacity etc are not relevant for my problem.

What is the biggest TSP that you were able to solve?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant