1

I am running Ipopt in a loop (from Python > Cyipopt).

Is there a way to suppress the following startup message for Ipopt?


This program contains Ipopt, a library for large-scale nonlinear optimization. Ipopt is released as open source code under the Eclipse Public License (EPL). For more information visit http://projects.coin-or.org/Ipopt


I have already set print_level = 0 and passing it as an Ipopt option, but I am still getting the startup message.

I also tried passing as an option from Python using nlp.addOption('sb','yes'), but getting the following error message: File "src/cyipopt.pyx", line 425, in cyipopt.problem.addOption TypeError: Invalid option type

(See link: https://groups.google.com/forum/#!topic/julia-opt/TVmuXFWfeBM for the above possible solution.)

I have found another possible solution posted a while ago at https://list.coin-or.org/pipermail/ipopt/2013-September/003510.html but don't understand where and how to implement it.

Thanks.

Suvo
  • 57
  • 7

1 Answers1

1

what works for me:

nlp.addOption('sb', 'yes')
nlp.addOption('print_level', 0)
silversircel
  • 175
  • 1
  • 8