Skip to content
Prev 124148 / 398498 Next

Are the error messages of ConstrOptim() consisten with each other?

Yuchen Luo wrote:
"Not feasible" means it doesn't satisfy the constraints.
This time your starting values satisfied the constraints, so your 
objective function was called, but you didn't pass it a value for lambda1.
This is still coded incorrectly.  Objective functions optimize over the 
first parameter only.  See ?optim for the details.  constrOptim is just 
a wrapper for optim.

Duncan Murdoch