Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaibhavdixit02 authored Aug 14, 2024
1 parent 6dce7fe commit 1660b14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/OptimizationNLPModels/test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ using Test
nlpmo = NLPModelsTest.HS5()
converted = OptimizationNLPModels.OptimizationProblem(nlpmo, Optimization.AutoZygote())

sol_native = solve(oprob, Ipopt.Optimizer())
sol_converted = solve(converted, Ipopt.Optimizer())
sol_native = solve(oprob, Optimization.LBFGS())
sol_converted = solve(converted, Optimization.LBFGS())

@test sol_converted.retcode == sol_native.retcode
@test sol_converted.u sol_native.u
Expand Down

0 comments on commit 1660b14

Please sign in to comment.