diff --git a/src/analysis/parsimonious.jl b/src/analysis/parsimonious.jl index a1982ed1..dd702705 100644 --- a/src/analysis/parsimonious.jl +++ b/src/analysis/parsimonious.jl @@ -33,12 +33,14 @@ function parsimonious_optimized_values( settings = [], parsimonious_objective::C.Value, parsimonious_optimizer = nothing, - parsimonious_sense = J.MIN_SENSE, + parsimonious_sense = Minimal, parsimonious_settings = [], tolerances = [absolute_tolerance_bound(0)], output = constraints, kwargs..., ) + # arguments need to be kept in sync with + # frontend_parsimonious_optimized_values # first solve the optimization problem with the original objective om = optimization_model(constraints; objective, kwargs...) diff --git a/src/analysis/solver.jl b/src/analysis/solver.jl index dde324a4..3c1da8c1 100644 --- a/src/analysis/solver.jl +++ b/src/analysis/solver.jl @@ -31,6 +31,8 @@ function optimized_values( output::C.ConstraintTreeElem = constraints, kwargs..., ) + # arguments need to be kept in sync with frontend_optimized_values + om = optimization_model(constraints; kwargs...) for m in settings m(om)