It is currently Sun May 19, 2013 1:35 am


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, 2, 3, 4, 5 ... 8  Next
Author Message
 Post subject: Re: The Traveling Salesman problem.
PostPosted: Thu Feb 10, 2011 10:02 pm  (#11) 
Offline
GimpChat Member

Joined: Oct 06, 2010
Posts: 2688
The binary or the whole folder? And can you open gedit and turn line numbers on and see what line 259 says. I check my own and they don't say the same thing as your Windows error did.

_________________
You cannot do a kindness too soon because you never know how soon it will be too late.

~Ralph Waldo Emerson


Top
 Profile  
 

 Post subject: Re: The Traveling Salesman problem.
PostPosted: Thu Feb 10, 2011 10:08 pm  (#12) 
Offline
GimpChat Member

Joined: Oct 06, 2010
Posts: 2688
I put all my py files in the Concorde folder, cd to Concorde, copy a pbm to Concorde, and run the terminal command from there. And it works. Linkern binary is the only thing I moved to usr/local/bin.

_________________
You cannot do a kindness too soon because you never know how soon it will be too late.

~Ralph Waldo Emerson


Top
 Profile  
 
 Post subject: Re: The Traveling Salesman problem.
PostPosted: Thu Feb 10, 2011 10:11 pm  (#13) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 4992
I'm only using the concorde and the linkern files. Did not install Concorde itself in Ubuntu. Haven't checked to see if I can (but betcha it's possible). I agree the gedit will show line numbers, but notepad won't in Windows. Haven't checked since you originally asked, but before doing all that, I guess I will have to install Concorde for Linux and give that a whirl. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Profile  
 
 Post subject: Re: The Traveling Salesman problem.
PostPosted: Thu Feb 10, 2011 10:14 pm  (#14) 
Offline
GimpChat Member

Joined: Oct 06, 2010
Posts: 2688
I compiled Concorde in Ubuntu, no problems.

./configure

sudo make

_________________
You cannot do a kindness too soon because you never know how soon it will be too late.

~Ralph Waldo Emerson


Top
 Profile  
 
 Post subject: Re: The Traveling Salesman problem.
PostPosted: Thu Feb 10, 2011 10:22 pm  (#15) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 4992
You took the source and compiled? All I did was download the concorde.gzip and linkern.gzip files and moved them (lots of places now; lol). Now each is an executable but when I try to double-click on either I get (now I temporarily moved both files to my desktop in Ubuntu) this error. Maybe I'm going to have to download the source files and manual compile it myself in Linux (never done it for this program; did have to compile MAZE5 which used it's own special compiler and it was a pain). Or, maybe, I'll just stick with the convoluted flow that I've done so in Windows and be done with it (very tired now; caused my insomnia last night, but at least I finally got a result before hitting the sack; lol). Again, I appreciate your help Mahvin. Maybe that's why yours work and mine don't. The thread implied that all I had to do is download these two programs and all is well with the world. I know that isn't so though. lol

:)


Attachments:
ex_error.png
ex_error.png [ 16.25 KiB | Viewed 479 times ]

_________________
Lyle

Psalm 109:8

Image
Top
 Profile  
 
 Post subject: Re: The Traveling Salesman problem.
PostPosted: Thu Feb 10, 2011 10:27 pm  (#16) 
Offline
GimpChat Member

Joined: Oct 06, 2010
Posts: 2688
That's not what I was discovering when reading. For Windows, yes, you are correct, but not so for Linux. It recommended compiling Concorde. Get some sleep, attack tomorrow! :)

_________________
You cannot do a kindness too soon because you never know how soon it will be too late.

~Ralph Waldo Emerson


Top
 Profile  
 
 Post subject: Re: The Traveling Salesman problem.
PostPosted: Thu Feb 10, 2011 10:33 pm  (#17) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 4992
lol; you're right. Now if I run it in Windows these two files (in cygwin directory) it just gives parameters to follow. Compile Concorde; cost/benefit analysis time now. lol

:)

_________________
Lyle

Psalm 109:8

Image


Top
 Profile  
 

 Post subject: Re: The Traveling Salesman problem.
PostPosted: Fri Feb 11, 2011 5:04 am  (#18) 
Offline
GimpChat Member

Joined: Oct 06, 2010
Posts: 2688
Well, I finally figured out a good way to take the resulting SVG file (using G'MIC's morphological filter) and get a decent path off of it without using Inkscape.

I have yet to play with the file in Inkscape, btw. Something tells me you'd be able to make some interesting pictures using Inkscape's path effects.

Image

_________________
You cannot do a kindness too soon because you never know how soon it will be too late.

~Ralph Waldo Emerson


Top
 Profile  
 
 Post subject: Re: The Traveling Salesman problem.
PostPosted: Fri Feb 11, 2011 8:29 am  (#19) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 8934
Location: "Looking for my eraser" =P
I can imagine you could. :)

_________________
Image
Gimp Rocks Blog
Simply Gimp Tutorials
"Once your in the cloud, you're in the net"
____________
OK, . . . . so what's the speed of dark?


Top
 Profile  
 
 Post subject: Re: The Traveling Salesman problem.
PostPosted: Fri Feb 11, 2011 4:58 pm  (#20) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 4992
Excellent colorized version Mahvin. Figured out a few more tricks (still work) but got the result much smoother now (still using Potrace for the cleanup step). Figure I would include the TSP file too. Until I figure out how to create Organic Labrynths, I will create many more of these (but not necessarily post them here; you all probably are getting tired of them anyway; lol). :)

Attachment:
tsp_circle.png
tsp_circle.png [ 286.39 KiB | Viewed 455 times ]


Attachments:
tsp_circle.zip [12.46 KiB]
Downloaded 43 times

_________________
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, 2, 3, 4, 5 ... 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 RSS Feed


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group