Hello,<br><br>I am new to IPOPT and I have to code this NLP in C++ under Linux. I have implemented all the functions and individually tested them, they seem to return the correct results. <br><br>But when I try running the optimizeNLP() function, I get an error in the console with the message &#39;Double free or corruption (!prev)&#39;. After tracking the error with GDB, it seems that the optimizer calls the get_nlp_info() routine with no error, and then performs the get_bounds_info() until return. At this point, seems that the free() function is called (I don&#39;t know where from) and then the memory error occurs and the program is aborted.<br>
<br>If anyone has encountered something like this, please give me a hint on how to approach this problem. Is there some particular mechanism inside IPOPT for freeing memory and handling vectors I should be aware of? Inside this function I am not doing much, just assigning the values to x_l, x_u and g_l,g_u...<br>
<br>Thanks in advance, I hope someone could help me here with an idea!<br><br>Alex<br>