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 58e8e3d commit 65eecbbCopy full SHA for 65eecbb
lib/OptimizationMOI/test/runtests.jl
@@ -88,6 +88,10 @@ end
88
sol = solve(prob, opt) #test reuse of optimizer
89
@test 10 * sol.objective < l1
90
91
+ # test stats
92
+ @test sol.stats.time > 0
93
+ @test sol.stats.iterations > 0
94
+
95
sol = solve(prob,
96
OptimizationMOI.MOI.OptimizerWithAttributes(Ipopt.Optimizer,
97
"max_cpu_time" => 60.0))
0 commit comments