Thanks for your attention. I searched this function but I can not find " special example about box constraint". Can you give an example for my code? Regards, Ser -- View this message in context: http://r.789695.n4.nabble.com/Optim-package-restriction-tp4418379p4418858.html Sent from the R help mailing list archive at Nabble.com.