How are we supposed to help you if we have no idea how you are using it? Did you read the PORT documentation? Did you look at the control parameters outlined in the function help page? Often times for me a return of the initial conditions is an issue with either inappropriate tolerance or having variables on very different scales.
Since you did not follow the posting guide (important part *'d below), my only suggestion is to ?nlminb -------------------------------------- Jonathan P. Daily Technician - USGS Leetown Science Center 11649 Leetown Road Kearneysville WV, 25430 (304) 724-4480 "Is the room still a room when its empty? Does the room, the thing itself have purpose? Or do we, what's the word... imbue it." - Jubal Early, Firefly r-help-boun...@r-project.org wrote on 12/15/2010 08:53:39 AM: > [image removed] > > [R] Help about nlminb function > > kamel gaanoun > > to: > > r-help > > 12/15/2010 08:56 AM > > Sent by: > > r-help-boun...@r-project.org > > Hi Everyone, > > Can anyone help me resolve a problem that i'm having with nlminb. The > problem is that it stops after just one iteration and returns the same > values as "start" ones. > > > Thank you very much for your help. > > > Sincerely. > > > -- > Kamel Gaanoun > (+33) (0)6.76.04.65.77 > > [[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. ______________________________________________ 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.