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

Problem with the results plotting... #9

Open
TomasMendozaHN opened this issue Jun 17, 2020 · 6 comments
Open

Problem with the results plotting... #9

TomasMendozaHN opened this issue Jun 17, 2020 · 6 comments

Comments

@TomasMendozaHN
Copy link

So I ran your code without making any modifications for vrp and 10 nodes (as well as 20)...and the graph looks as if there is only two nodes: depot and one more node...what is wrong?

@TomasMendozaHN
Copy link
Author

I leave below the image of how the plotting looks like...
https://ibb.co/hWJLjZB

@Jessi5177
Copy link

May I ask if you have solved this problem? I have also encountered this problem

@TomasMendozaHN
Copy link
Author

@Jessi5177 I think i was never able to fix it. I believe i just ran it with more nodes but I can't say for sure. Sorry but it was a while ago and i don't have the code in my computer anymore.

@cham627
Copy link

cham627 commented Jun 8, 2021

hello can you please tell some initial steps to run the code , means i have imported it in my vs code setup but how should i enter the nodes etc for VRP ; pls help if you know

@ghofrane-rebhi
Copy link

in the vrp task , you can change locations = toch.random()
by locations = torch.tensor(
[[[0.1, 0.2, 0.3, 0.3, 0.4, 0.4, 0.5, 0.5, 0.6, 0.7],
[0.5, 0.3, 0.2, 0.7, 0.3, 0.5, 0.2, 0.7, 0.4, 0.6]]])
here, i have chosen an example of 10 nodes.

@oumaima1996-alt
Copy link

hi, i'm getting this error when i run the code for vrp task:
max_load = LOAD_DICT[args.num_nodes]

KeyError: 5

can you please tell me how to fix 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

5 participants