Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Precompilation is broken due to constraint_power_magnitude_sqr_on_off #73

Open
noahrhodes opened this issue Apr 18, 2024 · 0 comments · May be fixed by #74
Open

Precompilation is broken due to constraint_power_magnitude_sqr_on_off #73

noahrhodes opened this issue Apr 18, 2024 · 0 comments · May be fixed by #74

Comments

@noahrhodes
Copy link
Collaborator

the function _PM.constraint_power_magnitude_sqr_on_off(pm::_PM.AbstractQCWRModel, n::Int, i, f_bus, arc_from, tm) overwrite the PowerModels function by the same name, breaking precompilation.

However, QC is not currently a supported formulation for these problems, and has no test coverage. This dead code breaks precompilation for no good reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant