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

Extend support of LinearQuadratic interface in NonlinearToLPQPBridge. #229

Merged
merged 1 commit into from
Oct 26, 2018

Conversation

martinbiel
Copy link
Contributor

I had a use case for setobj!, addconstr!, addvar!, delconstrs! when solving a quadratic program with Ipopt, which was not supported in the NonlinearToLPQPBridge. This adds support for most of the LinearQuadratic interface functions in the NonlinearToLPQPBridge and should be functional with Ipopt at least. I have my fork as a test dependency at the moment, but I thought this could be useful for others as well.

I Added a linprogsolvertest of IpoptSolver, with absolute tolerance 1e-5 as in nlp tests (I had to pass fixed_variable_treatment="make_constraint" to Ipopt to get correct reduced costs in the fixed variable case).

Passes all tests locally.

@mlubin
Copy link
Member

mlubin commented Oct 26, 2018

LGTM! I'm not pointing out style issues since MPB is deprecated and will be replaced by MOI.

@mlubin mlubin merged commit ae9c7c6 into JuliaOpt:master Oct 26, 2018
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.

2 participants