We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Consider adding support for reporting duals of all constraints as per the discussion in #409.
The text was updated successfully, but these errors were encountered:
It seems reasonable to replace constraint with lambda or lam in the naming convention for duals. For example:
constraint
lambda
lam
constraint_power_balance
lambda_power_balance_real
lambda_power_balance_imag
constraint_ohms_y_to
lambda_ohms_y_to_real
lambda_ohms_y_to_imag
constraint_power_generation_real
lambda_power_generation_real
Would adding an snippet like this to each constraint function in constraint_template.jl and in form/*.jl files be sufficient to implement this?
form/*.jl
if _IM.report_duals(pm) sol(pm, n, :bus, i)[:lambda_power_balance_real] = cstr_p sol(pm, n, :bus, i)[:lambda_power_balance_imag] = cstr_q end
Sorry, something went wrong.
No branches or pull requests
Consider adding support for reporting duals of all constraints as per the discussion in #409.
The text was updated successfully, but these errors were encountered: