Trying to solve problems with solvers that are configured for something other than Float64 lead to failures. I am not sure if this is a solver issue or a PowerModels one, but it happens with more than one solver.
Example:
solve_dc_opf("whatever.m",COSMO.Optimizer) #works
solve_dc_opf("whatever.m",COSMO.Optimizer{Float64}) #works
solve_dc_opf("whatever.m",COSMO.Optimizer{Float32}) #errors
solve_dc_opf("whatever.m",COSMO.Optimizer{BigFloat}) #errors
The same holds for Clarabel.Optimizer{Float32} etc.
The stack trace for the error is quite long, bu the gist of it is that it appears that constraints and objectives of parametrized as Float64 are still reaching the model.
Trying to solve problems with solvers that are configured for something other than Float64 lead to failures. I am not sure if this is a solver issue or a PowerModels one, but it happens with more than one solver.
Example:
The same holds for
Clarabel.Optimizer{Float32}etc.The stack trace for the error is quite long, bu the gist of it is that it appears that constraints and objectives of parametrized as
Float64are still reaching the model.