Re: Path from a walk in a graph.
- From: "Ian Parker" <ianparker2@xxxxxxxxx>
- Date: 19 Mar 2007 04:13:54 -0700
On 17 Mar, 18:51, riderofgiraffes <mathforum....@xxxxxxxxxxxxxx>
wrote:
Your usage of the term "genetic" in this context doesNo the algorithm I have given for the solution of the walk is
not match my understanding, nor that of my colleagues.
In what sense is it genetic? Help me to understand.
A genetic algorithm is the knee jerk approach to NP
hard problems like the travelling salesperson.
This is an unreasonable and emotionally laden statement.
polynomial. The "genes" I am talking about reflect elements of the
permutation group. We can divide up permutations in a number of ways.
The basic principle of the genetic algorithm is to take a non optimal
solution. This solution is then presented in the form of a series of
variables which we can loosely describe as being genes. In the case of
graphs these will be permutation subgroups. The travelling salesperson
is solved by permutation. The travelling salesperson has been proved
to be NP complete. That is we know we have the shortest route. NP
completeness is proved by showing that no permutation or set of
permutations can produce a better solution. In general genetic
algorithms do not produce NP complete solutions.
The question of the effectiveness of GAs in general is an interesting
one. GAs are used quite often where they should not be. For solving
problems which Calculus would solve far more efficiently. I am now
going to ask a Fields Medal type of question. If you have a ball
hidden somewhere there is no way of finding it other than to search
through all the possible locations systematically. If you work by
survival of the fittest (as I said analogue fitness is sinply another
word for Calculus) you are not going through every possibility.
Clearly there must be some logic which is allowing the GA to "home
in". How do you characterize this? Lets say you are sitting people
next to one and other round a dinner table. You know some of them are
friends. How do you you sit them round the dinner table. - GA with
genes as permutation subgroups and fitness defined however you want it
defined. This works because evaluation of fitness will in general
correspond to an evaluation of subgroups. ie. friends sitting next to
one and other form a complete subgroup. Question - can we solve the
problem without a GA?
This problem is a polynomial one, problems should
be solved polynomially if you can.
I don't think it is. You think it is, but I say the solution is
The algorithm given above, of removing loops, is a
polynomial algorithm - it has complexity O(n^2). I do
not understand why you think otherwise, nor why you
label it "genetic".
obtained by INSERTING and then removing loops. And you don't know when
to stop!
In fact what you are suggesting is very like the flagellum of a
protozoa which has 50 genes controlling it any one of which will cause
it not to work. This has been dubbed "irreducible complexity" by the
Discovery Insitute. In fact it evolved with more genes and then
steadily removed them. Suppose we inserted some more loops in the
protozoa and then reduced them. Could we get to 49 genes? I don't
know. It is inevitable that you will arrive at a situation where 1
gene will destroy a flagellum, it is not obvious that we have NP
completeness. In fact I feel instinctively that we don't.
Let me now put a spanner in and propose another
(harder) problem. Here we are simply walking.
Suppose what we need to do is write a program
and connect up inputs of subroutines. Here we not
only need to walk from a to b, we need the network
to be completely connected. This must in the first
instance be genetic. We walk from a to b and then
walk again filling in the vacant inputs.
What?
Perhaps I should not have posted this. It is a little bit away from
the start of the discussion. However it is
.
- Follow-Ups:
- Re: Path from a walk in a graph.
- From: riderofgiraffes
- Re: Path from a walk in a graph.
- From: Ian Parker
- Re: Path from a walk in a graph.
- References:
- Re: Path from a walk in a graph.
- From: Ian Parker
- Re: Path from a walk in a graph.
- From: riderofgiraffes
- Re: Path from a walk in a graph.
- Prev by Date: New mathematics/physical sciences positions at http://jobs.phds.org, March 19, 2007
- Next by Date: Re: Path from a walk in a graph.
- Previous by thread: Re: Path from a walk in a graph.
- Next by thread: Re: Path from a walk in a graph.
- Index(es):
Relevant Pages
|