search for: tp24110745p24110745

Displaying 1 result from an estimated 1 matches for "tp24110745p24110745".

2009 Jun 19
1
paramter restriction in optim
...I don't know how to do it. function(s){ c<-s[1] a1<-s[2] a2<-s[2] return(-sum()) } optim(...) In fact I need to know how to specify 0<=a1<=1. I've tried but without success Thank you -- View this message in context: http://www.nabble.com/paramter-restriction-in-optim-tp24110745p24110745.html Sent from the R help mailing list archive at Nabble.com. [[alternative HTML version deleted]]