Skip to content
Prev 294921 / 398506 Next

Optimization inconsistencies

Le 18/05/12 00:14, Nathan Stephens a ?crit :
I had similar problem to solve (x were frequencies) and optimization 
stops before to reach the global maximum. As hwborchers at googlemail.com 
indicates, I fitted {x}-1 values because the last one is known by the 
equality constraint.
For the vector constraints, I used w <- -Inf when x goes out of the limits.

Finally I used Bayesian mcmc to get the convergence and it works much 
better.

I don't know why in this case the optim does not converge.

Hope it hepls,

Marc