Skip to content

Commit 06674ed

Browse files
committed
Turn off NOWAIT
1 parent 385b872 commit 06674ed

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

pyomo/common/tee.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
from win32pipe import FdCreatePipe, PeekNamedPipe, SetNamedPipeHandleState
4848

4949
# This constant from Microsoft SetNamedPipeHandleState documentation:
50-
PIPE_NOWAIT = 1
50+
PIPE_NOWAIT = 0
5151
else:
5252
from select import select
5353
_peek_available = True

pyomo/contrib/solver/solvers/ipopt.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -621,6 +621,9 @@ def _parse_ipopt_output(self, output: Union[str, io.StringIO]) -> Dict[str, Any]
621621
if isinstance(output, io.StringIO):
622622
output = output.getvalue()
623623

624+
print("************* Raw output:\n")
625+
print(output)
626+
624627
# Stop parsing if there is nothing to parse
625628
if not output:
626629
logger.log(

0 commit comments

Comments
 (0)