It is currently Thu May 05, 2016 9:14 am

Latest GIMP Scripts & Plug-ins
 All times are UTC - 5 hours [ DST ]

 Page 7 of 8 [ 72 posts ] Go to page Previous  1 ... 4, 5, 6, 7, 8  Next
 Print view Previous topic | Next topic
Author Message
 Post subject: Re: The Traveling Salesman problem.Posted: Sat Sep 24, 2011 12:44 am  (#61)
 GimpChat Member

Joined: Sep 24, 2010
Posts: 8972
Just remember on the burn layer to lower to opacity as well to 10 or 20; don't wan't the black to be too dark.

_________________
Lyle

Psalm 109:8

Top
 Post subject: Re: The Traveling Salesman problem.Posted: Sat Sep 24, 2011 8:42 am  (#62)
 GimpChat Member

Joined: Oct 29, 2010
Posts: 710
Location: Netherlands
Try Gentoo mahvin.
http://www.gentoo.org/
It'll teach you more about Linux than any other distro.
Installing is a lot more work than a "pointy clicky" distro though.
Gerard.

_________________
Gentoo Linux always up-to-date.
Kernel-3.17.4 Python-2.7.8/3.3.5
Gimp-2.8.14

I use Linux only.
And Virtualbox with Win 7

Top
 Post subject: Re: The Traveling Salesman problem.Posted: Mon Feb 27, 2012 4:25 pm  (#63)
 New Member

Joined: Feb 27, 2012
Posts: 3
Hi guys,

Great info in this thread. Sorry to revive such an old thread (1 year old exactly)! I'm having a problem getting all of this to work on my Win XP machine.

I installed Concorde and that runs fine. I installed Cygwin and then downloaded Linkern.exe from Concorde's site. I keep getting an error when I try to run Linkern.exe

I don't know much about Linkern.exe, but I assume it relies on Cygwin. I installed the latest version of Cygwin and receive the error. Is anyone else receiving this same error? Is there a way to install an older version of Cygwin or something, to get this to work?

I did the code hacks that Lyle mentioned, and even with the errors, I can still get an outputted TSP file. I can use that file within Concorde at least. I'm just trying to get Linkern.exe to at least work.

 Attachments: File comment: Linkern.exe error linkern.JPG [ 34.83 KiB | Viewed 650 times ]
Top
 Post subject: Re: The Traveling Salesman problem.Posted: Mon Feb 27, 2012 4:50 pm  (#64)
 New Member

Joined: Feb 27, 2012
Posts: 3
The above screenshot is when I just try to run Linkern.exe directly.

Here is the screenshot I get when I try to run tspart.py. As you can see, it never generates a tour file, so I never get an SVG output.

I can take the TSP file and dump that into Concorde and get something to work with, but it's not as quick and easy.

Does anyone have any suggestions for getting Linkern.exe to work on my Win XP machine? Any idea what version Cygwin I may need or any other ideas?

Thank you

 Attachments: linkern2.JPG [ 52.61 KiB | Viewed 647 times ]
Top
 Post subject: Re: The Traveling Salesman problem.Posted: Mon Feb 27, 2012 5:37 pm  (#65)
 GimpChat Member

Joined: Apr 27, 2010
Posts: 1091
Location: Sweden

From XKCD. Couldn't resist.
.
Griatch

_________________

Last edited by Griatch on Mon Feb 27, 2012 6:23 pm, edited 1 time in total.

Top
 Post subject: Re: The Traveling Salesman problem.Posted: Mon Feb 27, 2012 5:43 pm  (#66)
 Global Moderator

Joined: Apr 07, 2010
Posts: 13998
cute

_________________

Top
 Post subject: Re: The Traveling Salesman problem.Posted: Mon Feb 27, 2012 6:16 pm  (#67)
 GimpChat Member

Joined: Mar 02, 2011
Posts: 1852
Location: Michigan
lol nice griatch

_________________

I'm back I think

Top
 Post subject: Re: The Traveling Salesman problem.Posted: Mon Feb 27, 2012 7:19 pm  (#68)
 GimpChat Member

Joined: Sep 24, 2010
Posts: 8972
lol; way too funny Griatch.

I have no way to address your issue SnyperBob since I'm no coder. just remember that you have to create your file paths using the 2 bars instead of one {see the example below}.

`LINKERN = 'C:\\cygwin\\bin\\linkern.exe'`

_________________
Lyle

Psalm 109:8

Top
 Post subject: Re: The Traveling Salesman problem.Posted: Mon Feb 27, 2012 11:21 pm  (#69)
 New Member

Joined: Feb 27, 2012
Posts: 3
Hi Lyle,

Thank you soooo much for your reply! I knew to use the \\ in the path....BUT

My PY file was set to this location but it would just not work. I moved linkern.exe instead to here:
After updating the PY files to the new path, it now works great!

I don't know why it doesn't work outside of the bin location. I'm guessing this is some programming thing that is obvious to someone that knows Cygwin or programming.

Any way, I wanted to thank you for indirectly pointing me in the right path! Now I can generate SVG files from the simple scripts. Awesome. Thanks again

Top
 Post subject: Re: The Traveling Salesman problem.Posted: Mon Feb 27, 2012 11:38 pm  (#70)
 GimpChat Member

Joined: Sep 24, 2010
Posts: 8972
Now I envy you since I can't upload files right now (other then type messages and figlets; lol). Now show us some of your stuff.

_________________
Lyle

Psalm 109:8

Top
 Page 7 of 8 [ 72 posts ] Go to page Previous  1 ... 4, 5, 6, 7, 8  Next

 All times are UTC - 5 hours [ DST ]

Similar Topics   Replies
The salesman

7

Just traveling

2