diff --git a/src/nlp-mi-expr/006_010.jl b/src/nlp-mi-expr/006_010.jl index 500c4a2..4c7986f 100644 --- a/src/nlp-mi-expr/006_010.jl +++ b/src/nlp-mi-expr/006_010.jl @@ -40,10 +40,6 @@ function nlp_mi_expr_006_010( optimize!(model) check_status(model, FEASIBLE_PROBLEM, termination_target, primal_target) - check_objective(model, 1.8813786425753092, tol = objective_tol) - return check_solution( - [x, y], - [0.7546057578960682, 1.1267728846792409], - tol = primal_tol, - ) + check_objective(model, 1 + log(2), tol = objective_tol) + return check_solution([x, y], [log(2), 1.0], tol = primal_tol) end diff --git a/src/nlp-mi/006_010.jl b/src/nlp-mi/006_010.jl index d693002..8976a47 100644 --- a/src/nlp-mi/006_010.jl +++ b/src/nlp-mi/006_010.jl @@ -52,10 +52,6 @@ function nlp_mi_006_010( optimize!(model) check_status(model, FEASIBLE_PROBLEM, termination_target, primal_target) - check_objective(model, 1.8813786425753092, tol = objective_tol) - return check_solution( - [x, y], - [0.7546057578960682, 1.1267728846792409], - tol = primal_tol, - ) + check_objective(model, 1 + log(2), tol = objective_tol) + return check_solution([x, y], [log(2), 1.0], tol = primal_tol) end diff --git a/test/runtests.jl b/test/runtests.jl index b03be5e..a5276fd 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -37,11 +37,9 @@ const MIPOLY_SOLVERS = [JUNIPER] @testset "$(solver): nlp_mi" for solver in MINLP_SOLVERS MINLPTests.test_nlp_mi(solver, exclude = [ "005_011", # Uses the function `\` - "006_010", # Bug in Juniper - handling of user-defined functions. ]) MINLPTests.test_nlp_mi_expr(solver, exclude = [ "005_011", # Uses the function `\` - "006_010", # Bug in Juniper - handling of user-defined functions. ]) MINLPTests.test_nlp_mi_cvx(solver) end