It is currently Mon May 20, 2013 10:36 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, 2, 3, 4, 5, 6, 7, 8  Next
Author Message
 Post subject: Re: The Traveling Salesman problem.
PostPosted: Fri Feb 11, 2011 7:51 pm  (#31) 
Offline
GimpChat Member

Joined: Oct 06, 2010
Posts: 2688
It never ends, lol. All my output files are empty. Man, solve one thing, another pops up, oh joy!

_________________
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 7:52 pm  (#32) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 4999
Strange; did you put the # in the right place? They shouldn't be empty. At least you are able to port SVG result. lol

:)

_________________
Lyle

Psalm 109:8

Image


Top
 Profile  
 
 Post subject: Re: The Traveling Salesman problem.
PostPosted: Fri Feb 11, 2011 7:56 pm  (#33) 
Offline
GimpChat Member

Joined: Oct 06, 2010
Posts: 2688
No, different problem. I found the temp tsp files in root /tmp, they open fine, but when I perform new computations on them in concorde, whatever output I save them to, they open empty in both Inkscape and GIMP.

Rephrase: when attempting to open the files saved from Concorde, GIMP and Inkscape throws an error saying files are blank.

_________________
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:25 pm  (#34) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 4999
the tsp file is just a text file; I have no idea why it's empty for you Mahvin. Might be an Ubuntu thing. Oh well; win some/loose some. Now it's your challenge to figure it out. lol

Now you can get some sleep first. ;)

:)

_________________
Lyle

Psalm 109:8

Image


Top
 Profile  
 
 Post subject: Re: The Traveling Salesman problem.
PostPosted: Fri Feb 11, 2011 9:01 pm  (#35) 
Offline
GimpChat Member

Joined: Oct 06, 2010
Posts: 2688
Like you said, it's text. But not in the format where GIMP or Inkscape can read them. Makes no difference what image extension you give them. Apparently I wasn't understanding how the files were being output (I thought they were being graphically recalculated), but the reality it was Concorde was just pointing out the new nodes/placement in text format. I have a lot to learn.

_________________
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 9:28 pm  (#36) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 4999
Yeah; TSP is proprietary to Concorde. You should be able to install Windows Concorde via Wine, but I have to admit I have not tried this. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Profile  
 
 Post subject: Re: The Traveling Salesman problem.
PostPosted: Fri Feb 11, 2011 9:32 pm  (#37) 
Offline
GimpChat Member

Joined: Oct 06, 2010
Posts: 2688
I just did, works ok, but the output still is just raw text. I was hoping for a more detailed image output that I can work with. The viewer within Concorde isn't suitable for taking screenshots, unless you want to combine several images into one.

_________________
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 9:42 pm  (#38) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 4999
lol; you got that right unfortunately. It's the only way I can do this currently, but not hard to use Potrace to clean things up. You use what you can. Not sure if the command version is able to use the edge option, but it should be. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Profile  
 
 Post subject: Re: The Traveling Salesman problem.
PostPosted: Fri Feb 11, 2011 9:44 pm  (#39) 
Offline
GimpChat Member

Joined: Oct 06, 2010
Posts: 2688
Yes, it has that option, but I don't see the command for using it the "correct" way. Still reading, and more reading.

_________________
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 11:49 pm  (#40) 
Offline
GimpChat Member

Joined: Oct 06, 2010
Posts: 2688
My Delauney Triangulation...

Image

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

~Ralph Waldo Emerson


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, 6, 7, 8  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 2 guests


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