Re: [roboptim-user] Verbose mode
Status: Beta
Brought to you by:
flamiraux
From: Thomas M. <tho...@gm...> - 2011-09-21 08:26:53
|
On Wed, Sep 21, 2011 at 10:12 AM, Florent Lamiraux <fl...@la...> wrote: > Hello roboptim users, > > does anyone know whether there is a verbose mode in roboptim and if so > how to activate it ? > > I have an optimization problem that never ends and I would like to > understand what is happening. Hello, there is two possibilties: - enable libcwd support (http://libcwd.sourceforge.net/) by passing -DCWDEBUG as CXXFLAGS (using ccmake for instance) This has not been thoroughly tested and minor compilation errors may occur. - use the plug-in specific logging features using solver.parameters () method. In this case, take a look to the plug-in documentation / code to see what parameters are available. For instance, using the CFSQP plug-in, "cfsqp.iprint" can be used to dump intermediate steps. BTW, other options are also available to fine tune the KKT condition evaluation which decides whether the optimization should stop or not. -- Thomas Moulard |