<div dir="ltr"><div><div><div><div><div><div><div><div><div><div>I have a curious issue with Ipopt. I am running on an Ubuntu 16.04 system, using Ipopt 3.11.9, g++ 5.4, and linking against a bunch of other libraries, including UMFPACK and CGAL. If I run<br><br></div>my_ipopt_program<br><br></div>it works fine, and I get the expected output, beginning with<br><br><span style="font-family:monospace,monospace">******************************************************************************<br>This program contains Ipopt, a library for large-scale nonlinear optimization.<br> Ipopt is released as open source code under the Eclipse Public License (EPL).<br>         For more information visit <a href="http://projects.coin-or.org/Ipopt">http://projects.coin-or.org/Ipopt</a><br>******************************************************************************<br><br>This is Ipopt version 3.11.9, running with linear solver mumps.<br>NOTE: Other linear solvers might be more efficient (see Ipopt documentation).<br></span><br>If my program has called<br><br><span style="font-family:monospace,monospace">app->Options()->SetStringValue("output_file", "ipopt.out");</span><br><br></div><div>then it also writes the output to ipopt.out. But if I redirect stdout, or also stderr<br></div><br></div><span style="font-family:monospace,monospace">my_ipopt_program > run.log<br>my_ipopt_program > run.log 2>&1<br></span></div></div><br></div>then Ipopt never prints anything to run.log, or to ipopt.out.<br><br></div>Is this behavior expected, a bug, or a problem I have somehow caused?<br><br></div>    Thanks,<br></div>    Sean Hardesty<br></div>