[Ipopt] intermediate_callback

Dominik Skanda dominik.skanda at web.de
Thu Nov 27 09:30:19 EST 2008


Hi,
Thank you for your reply, 
this seems to me very non intuitive ;-), can you give me an example so that I get an array back like in the eval_f function ( eval_f(... const Number* x ...) )
Many Thanks in advance
Dominik
 









> -----Ursprüngliche Nachricht-----
> Von: "Stefan Vigerske" <stefan at vigerske.de>
> Gesendet: 27.11.08 14:59:39
> An: Dominik Skanda <dominik.skanda at web.de>
> CC: ipopt at list.coin-or.org
> Betreff: Re: [Ipopt] intermediate_callback


> Hi,
> 
> > In the part SAVE_SOLUTION_VECTOR I have to read out the optimization variables at that iteration step (the x avriables). 
> > Can someone say me how to do that ?
> 
> That is easy. I just posted an answer to this question on this list 3
> days ago:
> 
> In intermediate_solution you get an IpoptData object that gives you a
> lot of information about the current Ipopt status.
> With IpoptData::curr() you should get the current iterate, which should
> also contain the primal values.
> The documentation at
> http://www.coin-or.org/Doxygen/Ipopt/class_ipopt_1_1_ipopt_data.html
> should be helpful.
> 
> Stefan
> 


____________________________________________________________________
Psssst! Schon vom neuen WEB.DE MultiMessenger gehört? 
Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123




More information about the Ipopt mailing list