Skip to content
Prev 178577 / 398506 Next

R: constrained optimization

A genetic algorithm would probably be
a pretty good choice for this problem.
It is not in a package, but you can get
the code for the 'genopt' function from
S Poetry on the public domain page of
www.burns-stat.com.

However, I think I understand enough of
the problem to predict that a bespoke
algorithm will be needed.  In which case
the introduction to genetic algorithms on
the Tutorials page may be of use.

Patrick Burns
patrick at burns-stat.com
+44 (0)20 8525 0696
http://www.burns-stat.com
(home of "The R Inferno" and "A Guide for the Unwilling S User")
mauede at alice.it wrote: