We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d885c0e commit 1292772Copy full SHA for 1292772
src/solve.jl
@@ -102,6 +102,12 @@ function parse_description(description)
102
error("no known model (:adnlp, :exa) in method", method)
103
end
104
105
+ # patch: replaces ipopt by madnlp for :exa as long as the issue with getters for a posteriori treatment is not fixed
106
+ if (:exa ∈ method) && (:ipopt ∈ method)
107
+ nlp_solver = CTDirect.MadNLPBackend()
108
+ @warn "currently replacing Ipopt with MadNLP for :exa"
109
+ end
110
+
111
return nlp_solver, nlp_model
112
113
0 commit comments