🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.ai
Article #9103

Re: SA and bit sequence optimization

#9103
From: Ted Dunning
Date: Sat, 21 Jul 2007 02:31
38 lines
3173 bytes
On Jul 20, 2:47 am, roberto03 <robert...@gmail.com> wrote:
> Hello, i am trying to apply the "simulated annealing" methodology to a
> problem where i have to determine an optimal (according to some cost
> function) sequence of N bits, k of which are 1 and (N-k) are 0; i can
> switch at will the 1's and the 0's between them, but the total number
> of 1's should be kept constant, say k = N_0, chosen by the user;
>
> now i'd like to know if anyone has applied this methodology to this
> kind of problem where one has to optimize a bit string in some sense.
>
> Thanks for any answer.
> Roberto.
>

Let me first warn that I really know little about this specific
problem.

But it does smell quite a bit like many coding problems where you are
trying to find a bit string that matches some criterion given partial
information.  There are lots of interesting results to do with
probabilistic optimization of bit strings in the area of coding, but
some of these results depend on careful construction of the code.
There are also related sorts of issues in Ising systems.

Mackay discusses these in his book.

In general, the problem that you have with these systems is that the
set of bit strings that you want is not nicely connected.  Yes, all
strings with a constant number of bits can be derived from all the
other ones by simple operations like repeated transpositions, but the
distance between strings can be pretty long.  This means that it might
be preferable to optimize over all strings with an added penalty for
having the wrong number of bits.  This is essentially the same as
using a Laplace multiplier in that the optimum is not changed while
the search space is expanded nicely.  Once you do this, SA becomes a
very attractive option for the optimization itself.

[ comp.ai is moderated ... your article may take a while to appear. ]
Technical Details
Message-ID: <46a1701b$1@news.unimelb.edu.au>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!out04a.usenetserver.com!news.usenetserver.com!in04.usenetserver.com!news.usenetserver.com!nx01.iad01.newshosting.com!newshosting.com!novia!novia!news1.optus.net.au!optus!news.optus.net.au!53ab2750!not-for-mail
References: <46a084a1$1@news.unimelb.edu.au>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10461e,ca2096b8c13d827e
X-Google-Thread: 109d8a,ca2096b8c13d827e
X-Google-Thread: f8362,ca2096b8c13d827e
X-Google-Thread: 10e2ff,ca2096b8c13d827e
X-Google-Attributes: gid10461e,gid109d8a,gidf8362,gid10e2ff,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!out04a.usenetserver.com!news.usenetserver.com!in04.usenetserver.com!news.usenetserver.com!nx01.iad01.newshosting.com!newshosting.com!novia!novia!news1.optus.net.au!optus!news.optus.net.au!53ab2750!not-for-mail
Newsgroups: comp.ai,sci.math,comp.theory,bionet.biology.computational
Approved: ai@cs.mu.oz.au (Moderator comp.ai)
From: Ted Dunning <ted.dunning@gmail.com>
X-No-Markup: yes
Subject: Re: SA and bit sequence optimization
X-Date: Fri, 20 Jul 2007 16:13:46 -0000
Organization: ?
References: <46a084a1$1@news.unimelb.edu.au>
X-Mod: ?
User-Agent: nn/6.6.4
X-Original-NNTP-Posting-Host: mulga.csse.unimelb.edu.au
Message-ID: <46a1701b$1@news.unimelb.edu.au>
X-Original-Trace: 21 Jul 2007 12:31:55 +1100, mulga.csse.unimelb.edu.au
Lines: 38
Date: Sat, 21 Jul 2007 02:31:58 GMT
NNTP-Posting-Host: 128.250.20.3
X-Trace: news.optus.net.au 1184985118 128.250.20.3 (Sat, 21 Jul 2007 12:31:58 EST)
NNTP-Posting-Date: Sat, 21 Jul 2007 12:31:58 EST