Re: [CAD_CAM_EDM_DRO] Re: Traveling Salesman algorithm ?
Posted by
Jon Elson
on 2001-08-29 23:01:57 UTC
rab@... wrote:
any cutting motion is good. What you try to minimize is the non-cutting
movements. This makes the problem much easier. Also, the case where
there are hundreds or thousands of cutting movements, usually with exactly
one non-cutting movement between them, is a lot simpler problem.
You throw away all non-cutting movements, just keeping the cutting
movement strings as they were. Now, you pick one at random, do it,
mark it done and then search the endpoints of all other strings to see
which one is closest. When there are no more uncompleted movements
left, you're done. this is a very simple scheme, but it usually reduces
badly
planned toolpaths by up to 90% (Those would have to be REALLY bad,
but I've seen them.) Depending on how the toolpath is written, detecting
cutting from non-cutting movements may or may not be easy.
Jon
> Don't suppose anyone can recommend a good algorithm for solving theThere may not be any. Now, for machining, things are different, because
> Traveling Salesman problem ?
any cutting motion is good. What you try to minimize is the non-cutting
movements. This makes the problem much easier. Also, the case where
there are hundreds or thousands of cutting movements, usually with exactly
one non-cutting movement between them, is a lot simpler problem.
You throw away all non-cutting movements, just keeping the cutting
movement strings as they were. Now, you pick one at random, do it,
mark it done and then search the endpoints of all other strings to see
which one is closest. When there are no more uncompleted movements
left, you're done. this is a very simple scheme, but it usually reduces
badly
planned toolpaths by up to 90% (Those would have to be REALLY bad,
but I've seen them.) Depending on how the toolpath is written, detecting
cutting from non-cutting movements may or may not be easy.
Jon
Discussion Thread
cncdxf@a...
2001-08-26 17:48:45 UTC
Traveling Salesman Syndrome
machines@n...
2001-08-27 01:25:59 UTC
Re: Traveling Salesman Syndrome
Fred Smith
2001-08-27 10:02:07 UTC
Re: Traveling Salesman Syndrome
cncdxf@a...
2001-08-27 12:57:12 UTC
Re: Traveling Salesman Syndrome
Ethan Vos
2001-08-27 13:17:02 UTC
RE: [CAD_CAM_EDM_DRO] Re: Traveling Salesman Syndrome
Fred Smith
2001-08-27 13:44:13 UTC
Re: Traveling Salesman Syndrome
machines@n...
2001-08-27 13:56:10 UTC
Re: Traveling Salesman Syndrome
Carol & Jerry Jankura
2001-08-27 16:21:01 UTC
RE: [CAD_CAM_EDM_DRO] Re: Traveling Salesman Syndrome
Fred Smith
2001-08-27 16:51:20 UTC
Re: Traveling Salesman Syndrome
cncdxf@a...
2001-08-27 17:16:09 UTC
Re: Traveling Salesman Syndrome
HighTech
2001-08-27 21:09:37 UTC
RE: [CAD_CAM_EDM_DRO] Re: Traveling Salesman Syndrome
dlantz@a...
2001-08-28 05:43:36 UTC
RE: [CAD_CAM_EDM_DRO] Re: Traveling Salesman Syndrome
Roland Friestad
2001-08-28 06:03:18 UTC
Re: Traveling Salesman Syndrome
Fred Smith
2001-08-28 07:59:00 UTC
Re: Traveling Salesman Syndrome
rab@r...
2001-08-29 15:56:50 UTC
Re: Traveling Salesman algorithm ?
frenner@c...
2001-08-29 17:09:28 UTC
Re: Traveling Salesman algorithm ?
cncdxf@a...
2001-08-29 19:24:23 UTC
Re: Traveling Salesman algorithm ?
Alan Marconett KM6VV
2001-08-29 21:27:38 UTC
Re: Traveling Salesman algorithm ?
Doug Fortune
2001-08-29 21:47:15 UTC
Re: [CAD_CAM_EDM_DRO] Re: Traveling Salesman algorithm ?
Jon Elson
2001-08-29 22:22:48 UTC
Re: [CAD_CAM_EDM_DRO] Re: Traveling Salesman algorithm ?
Jon Elson
2001-08-29 23:01:57 UTC
Re: [CAD_CAM_EDM_DRO] Re: Traveling Salesman algorithm ?
cncdxf@a...
2001-08-30 03:14:55 UTC
Traveling Salesman Syndrome
rab@r...
2001-08-30 03:58:57 UTC
Re: Traveling Salesman Syndrome
cncdxf@a...
2001-08-30 04:20:34 UTC
Re: Traveling Salesman Syndrome
rab@r...
2001-08-30 05:28:17 UTC
Re: Traveling Salesman Syndrome
dougrasmussen@c...
2001-08-30 09:11:33 UTC
Re: Traveling Salesman Syndrome
cncdxf@a...
2001-08-30 09:52:41 UTC
Re: Traveling Salesman Syndrome
Alan Marconett KM6VV
2001-08-30 13:07:24 UTC
Re: [CAD_CAM_EDM_DRO] Traveling Salesman Syndrome
cncdxf@a...
2001-08-30 15:05:00 UTC
Re: Traveling Salesman Syndrome
Alan Marconett KM6VV
2001-08-30 15:31:37 UTC
Re: Traveling Salesman Syndrome
cncdxf@a...
2001-08-30 15:48:14 UTC
Re: Traveling Salesman Syndrome
Alan Marconett KM6VV
2001-08-30 18:21:39 UTC
Re: Traveling Salesman Syndrome