-
Notifications
You must be signed in to change notification settings - Fork 5
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
node format #1
Comments
@transfluxus Hello, It is a 2d coordinates for each nodes. So, in this example, we have four destination to visit and they are located at (0, 0), (0,1), (0,2), (0,3), respectively. This program calculates distances between them. If you have a distances, you can add by using 'add_by_distances'. I will add more examples on README later today. |
ok so it's a bit redundat to pass the list of coordinates and then also call Another question. Do the coordinates have to be 2d? or can they also be... let's say 200dimensional :) ? |
@transfluxus currently, it supports only 2d points. But you can use 'add_by_distances' function, which is not related to the number of dimensions. I guess I will update to support multi dimensions. |
any update? How to use |
@lxjhk you can call add_by_distances with arguments of 2d matrix which includes distances between nodes. (This means you have to calculate distances) |
I, what is the format that I need to pass to the solver. Your examples has
c = [
[0, 0],
[0, 1],
[0, 2],
[0, 3]
]
how does this describe the node connections/ weight?
Thanks!
The text was updated successfully, but these errors were encountered: