It is currently Tue Apr 23, 2024 7:18 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 73 posts ]  Go to page Previous  1, 2, 3, 4
Author Message
 Post subject: Re: The Traveling Salesman problem.
PostPosted: Sat Sep 24, 2011 12:44 am  (#61) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12516
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
 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: 711
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.
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 1843 times ]
Top
 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 1841 times ]
Top
 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: 1453
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
 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: 14182
cute

_________________
Image


Top
 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: 1850
Location: Michigan
lol nice griatch

_________________
Image
I'm back I think


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

Joined: Sep 24, 2010
Posts: 12516
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
 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
 Post subject: Re: The Traveling Salesman problem.
PostPosted: Mon Feb 27, 2012 11:38 pm  (#70) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12516
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
 Post subject: Re: The Traveling Salesman problem.
PostPosted: Tue Feb 28, 2012 1:32 pm  (#71) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
SnyperBob wrote:
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


You most likely needed to have linkern.exe use/find the library files in the bin folder.I do not use CygWin i prefer Msys and MinGW. :)

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: The Traveling Salesman problem.
PostPosted: Sat Oct 13, 2012 9:46 pm  (#72) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12516
The mad scientist himself released his own stippler and thought I would re-open this old thread to share the program.

Details: http://www.evilmadscientist.com/2012/stipplegen2/

Direct link: http://code.google.com/p/eggbotcode/dow ... stipplegen

What's cool with this program is it directly generatoes TSP paths and can export SVG output too. Still playing with the program but, I do like Salience's program much better. I do like the gui play though of Stipplegen. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: The Traveling Salesman problem.
PostPosted: Sun Mar 06, 2022 1:55 am  (#73) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12516
OK; Rep started a thread challenge at the G'MIC forum on PixLS's site; thought I would share the result here as well. Ref info at PixLS site. :)


Attachments:
media_militia_skulls_001.png
media_militia_skulls_001.png [ 1.63 MiB | Viewed 339 times ]

_________________
Lyle

Psalm 109:8

Image
Top
Post new topic Reply to topic  [ 73 posts ]  Go to page Previous  1, 2, 3, 4

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) The Traveling Salesman revisited.

4



* Login  



Powered by phpBB3 © phpBB Group