Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added application return status Maximum_WallTime_Exceeded, new in Ipopt 3.14. #261

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion cyipopt/cython/ipopt.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ License: EPL 2.0
cdef extern from "IpoptConfig.h":

int IPOPT_VERSION_MAJOR

int IPOPT_VERSION_MINOR

int IPOPT_VERSION_RELEASE
Expand Down Expand Up @@ -109,6 +109,7 @@ cdef extern from "IpStdCInterface.h":
Restoration_Failed=-2
Error_In_Step_Computation=-3
Maximum_CpuTime_Exceeded=-4
Maximum_WallTime_Exceeded=-5 # Added in Ipopt 3.14
Not_Enough_Degrees_Of_Freedom=-10
Invalid_Problem_Definition=-11
Invalid_Option=-12
Expand Down
1 change: 1 addition & 0 deletions cyipopt/cython/ipopt_wrapper.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ STATUS_MESSAGES = {
Error_In_Step_Computation: (b"An unrecoverable error occurred while Ipopt "
b"tried to compute the search direction."),
Maximum_CpuTime_Exceeded: b"Maximum CPU time exceeded.",
Maximum_WallTime_Exceeded: b"Maximum wallclock time exceeded.",
Not_Enough_Degrees_Of_Freedom: b"Problem has too few degrees of freedom.",
Invalid_Problem_Definition: b"Invalid problem definition.",
Invalid_Option: b"Invalid option encountered.",
Expand Down
Loading