Skip to content

solving problems with non-Float64 types #890

Description

@goulart-paul

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions