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

About TSP data format #233

Open
cclvr2 opened this issue Nov 25, 2024 · 2 comments
Open

About TSP data format #233

cclvr2 opened this issue Nov 25, 2024 · 2 comments

Comments

@cclvr2
Copy link

cclvr2 commented Nov 25, 2024

Thank you very much for developing this library.

My question is: if a TSP problem is defined not by 2D coordinates but by the distances between points, can the existing dataset API be used? Is there a way to handle this scenario?

Looking forward to your replay.

@fedebotu
Copy link
Member

fedebotu commented Nov 25, 2024

Hi! Yes, but you need to change the model structure to handle edges. For example, MatNet can deal with edge features. For the environment, you may use the ATSP environment to handle them

@cclvr2
Copy link
Author

cclvr2 commented Nov 26, 2024

Hi! Yes, but you need to change the model structure to handle edges. For example, MatNet can deal with edge features. For the environment, you may use the ATSP environment to handle them

Thanks a lot for your quick replay, I' try it.

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

2 participants