[roboptim-user] Enabling Ipopt standard console output
Status: Beta
Brought to you by:
flamiraux
|
From: Karim B. <kar...@gm...> - 2010-03-31 07:54:12
|
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?
Karim
|