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 4b63a5d commit 7866df9Copy full SHA for 7866df9
lib/OptimizationMadNLP/src/OptimizationMadNLP.jl
@@ -424,6 +424,7 @@ end
424
function SciMLBase.__solve(cache::OptimizationCache{O}) where {O <: MadNLPOptimizer}
425
maxiters = OptimizationBase._check_and_convert_maxiters(cache.solver_args.maxiters)
426
maxtime = OptimizationBase._check_and_convert_maxtime(cache.solver_args.maxtime)
427
+ maxtime = maxtime isa Float32 ? convert(Float64, maxtime) : maxtime
428
429
meta, options = __map_optimizer_args(cache,
430
cache.opt;
0 commit comments