My understanding is that optim(method="L-BFGS-B") does box constraints and constrOptim linear constraints. You want box.
On 17/06/09 17:51, Stu @ AGS wrote: > Hi, > [...] > > > My goal is to feed these into constrOptim such that there is > no constraint on theta[1] and that theta[2] and theta[3] are both > constrained to fall between 0.0 and 1.0. > > > > Perhaps my values for ui and ci are incorrect for these > constraints. > > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.