Hi, Dr. Hauan,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; When I used IPOPT to solve a NLP, there're some errors which I attached in the attachment. The constraints contained some sines of the variables, and I didn't know whether this has something to do with the error. Please have a look at it. And would you please tell me how to solve it? If necessary,&nbsp;must I send you the matlab files that I wrote? I didn't know whether there're some bugs about the package. Thanks a lot!<BR><BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Howard