It is currently Sun Nov 23, 2014 10:40 pm


Latest GIMP Scripts & Plug-ins

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 72 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8  Next
Author Message
 Post subject: Re: The Traveling Salesman problem.
PostPosted: Sat Sep 24, 2011 12:44 am  (#61) 
Online
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 6742
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

Image


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

Joined: Oct 29, 2010
Posts: 692
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.16.1 Python-2.7.8/3.3.5
Gimp-2.8.10

I use Linux only.
And Virtualbox with Win 7


Top
 Profile  
 
 Post subject: Re: The Traveling Salesman problem.
PostPosted: Mon Feb 27, 2012 4:25 pm  (#63) 
Offline
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
linkern.JPG [ 34.83 KiB | Viewed 504 times ]
Top
 Profile  
 
 Post subject: Re: The Traveling Salesman problem.
PostPosted: Mon Feb 27, 2012 4:50 pm  (#64) 
Offline
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
linkern2.JPG [ 52.61 KiB | Viewed 501 times ]
Top
 Profile  
 
 Post subject: Re: The Traveling Salesman problem.
PostPosted: Mon Feb 27, 2012 5:37 pm  (#65) 
Offline
GimpChat Member
User avatar

Joined: Apr 27, 2010
Posts: 871
Location: Sweden
Image
From XKCD. Couldn't resist. :D
.
Griatch

_________________


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

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

Joined: Apr 07, 2010
Posts: 12429
cute

_________________
Image


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

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

_________________
Image
I'm back I think


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

Joined: Sep 24, 2010
Posts: 6742
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

Image


Top
 Profile  
 
 Post subject: Re: The Traveling Salesman problem.
PostPosted: Mon Feb 27, 2012 11:21 pm  (#69) 
Offline
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

I had linkern.exe located here: C:\\linkern.exe

My PY file was set to this location but it would just not work. I moved linkern.exe instead to here:
C:\\cygwin\\bin\\linkern.exe
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
 Profile  
 
 Post subject: Re: The Traveling Salesman problem.
PostPosted: Mon Feb 27, 2012 11:38 pm  (#70) 
Online
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 6742
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

Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 72 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

* Login  

* Subscribe to Gimp Chat's RSS Feed    * Subscribe to Gimp Chat's Tutorial Feed    * Subscribe to Gimp Chat's G'MIC Feed


Powered by phpBB3 © phpBB Group