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

Duals all NaN when including ReserveDemandCurve #1093

Closed
Nongchao opened this issue Mar 26, 2024 · 4 comments
Closed

Duals all NaN when including ReserveDemandCurve #1093

Nongchao opened this issue Mar 26, 2024 · 4 comments

Comments

@Nongchao
Copy link

Nongchao commented Mar 26, 2024

When including PSY.ReserveDemandCurve in ProblemTemplate, the problem solves, but the duals are all NaN.

@Nongchao Nongchao changed the title Duals for "NodalBalanceActiveConstraint" and "RequirementConstraint" are all NaN Duals all NaN when including ReserveDemandCurve Apr 1, 2024
@jd-lara
Copy link
Member

jd-lara commented Apr 27, 2024

@sourabhdalvi Do you call what the implementation of ReserveDemandCurve looks like?

@Nongchao
Copy link
Author

@sourabhdalvi Do you call what the implementation of ReserveDemandCurve looks like?

Sourabh helped me figured out what's causing the issue. Essentially SOS variables were introduced and my understanding is there's no way to fix these variables to solve a LP to get duals. But in my application, SOS variables are not needed, so we had a "hacky" way to by-pass the convexity check and not introducing SOS variables for now.

@jd-lara
Copy link
Member

jd-lara commented May 13, 2024

@Nongchao I'd be good to know what you are doing to make sure that we can incorporate the fix you are using.

@jd-lara
Copy link
Member

jd-lara commented Jun 25, 2024

closing since it can't be replicated. @rodrigomha we need a test with the new ORCD to recover Duals

@jd-lara jd-lara closed this as completed Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants