Skip to content

Conversation

Robbybp
Copy link
Contributor

@Robbybp Robbybp commented Feb 13, 2023

Fixes #644

The C interface currently segfaults when GetIpoptCurrentIterate or GetIpoptCurrentViolations are called before or after IpoptSolve. Checking tnlp allows these functions to do nothing and return false in these cases, which is the behavior I would expect.

@CLAassistant
Copy link

CLAassistant commented Feb 13, 2023

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GetIpoptCurrentViolations segfaults when called before solve
3 participants