Hi,<br /><br />in intermediate_solution you get an IpoptData object that gives you a lot of information about the current Ipopt status.<br />With IpoptData::curr() you should get the current iterate, which should also contain the primal values.<br />The documentation at<br />http://www.coin-or.org/Doxygen/Ipopt/class_ipopt_1_1_ipopt_data.html<br />should be helpful.<br /><br />Stefan<br /><br /><br /><span style="font-family: Verdana">Nandini Chakravorti schrieb: <blockquote type="cite"> <div>Hi,</div> <div>&nbsp;</div> <div>&nbsp;&nbsp;&nbsp;&nbsp; Is there a way by which I can know the solution of the primal variables at each iteration for Ipopt? I am using <i>intermediate_callback</i> method to get the interation index and the objective value - but would also like to get the primal variable values at </div> <div>each iteration.</div> <div>&nbsp;</div> <div>&nbsp;</div> <div>Regards,</div> <div>Nandini</div> </blockquote></span>