diff --git a/src/nlpmodels.jl b/src/nlpmodels.jl index a37e5c58..b4b773b9 100644 --- a/src/nlpmodels.jl +++ b/src/nlpmodels.jl @@ -88,8 +88,8 @@ end function get_index_constraints( lvar, uvar, lcon, ucon; - fixed_variable_treatment=EnforceEquality, - equality_treatment=MakeParameter, + fixed_variable_treatment=MakeParameter, + equality_treatment=EnforceEquality, ) ncon = length(lcon)