Re: [roboptim-user] Enabling Ipopt standard console output
Status: Beta
Brought to you by:
flamiraux
From: Thomas M. <tho...@gm...> - 2010-04-14 16:50:58
|
On Wed, Mar 31, 2010 at 2:02 PM, Thomas Moulard <tho...@gm...> wrote: > On Wed, Mar 31, 2010 at 9:53 AM, Karim Bouyarmane > <kar...@gm...> wrote: >> Hello Thomas, >> >> I have another question about the Ipopt plugin. In the current >> implementation of the IpoptSolver, the attribute IpoptApplication app_ is >> created with the following call to the constructor >> app_ (new IpoptApplication (false, false)) >> which disables the console output of ipopt and makes the use of the >> print_level option useless >> I think it would be better to create the IpoptApplication with the first >> boolean parameter set to "true" >> app_ (new IpoptApplication (true, false)) >> and let the user decide of the desired verbosity, for example to disable the >> output: >> solver.getIpoptApplication()->Options ()->SetIntegerValue ("print_level",0); >> >> what do you think? > > In fact, since now RobOptim support parameters for solvers, print_level should > be one, like in CFSQP plug-in. > This one is trivial. I'll fix that ASAP. Due to Francois's patches and to the merge of Linux and Windows constructors (see commit ed8668d4c5760f83f07ecf8f4dd35f1592565fc4), this problem should be solved. Can you confirm it, Karim, Francois? -- Thomas Moulard http://www.linkedin.com/in/moulard |