Skip to content
Prev 175793 / 398506 Next

Constrined dependent optimization.

rkevinburton wrote:
It's a question of time and space.  Try the problem for 100, 500, 1000 ...
variables to 
see how the memory usage and time scale.  (At a guess, memory will be linear
in N and
not too bad, time will be horrible.) I haven't followed the thread very
carefully, if any
of the linear programming solutions solve your problem they will be far more
efficient.
It sounds as  though you have an extremely non-trivial optimization problem
here, the
brute-force approach exemplified by SANN may not work, so you will have to
map
your problem onto a framework (such as linear programming) that strives for
efficiency rather than generality. (L-BFGS-B is out of the question.)

  Essentially, this is turning into an optimization problem rather than an R
problem.
Once you know that there exists an optimization approach that can solve your
problem before the sun burns out, you can come back and find out if anyone
has implemented it in R (or RSiteSearch() for it ...), or implemented an
interface with a lower-level platform.

  Good luck,
    Ben Bolker