-
Notifications
You must be signed in to change notification settings - Fork 15
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
Implementing rule-based constraints featuring variables on different levels #104
Comments
FranDeLio
changed the title
Help needed making work constraint featuring variables of different levels
Help needed making work rule-based constraint featuring variables of different levels
Apr 14, 2024
FranDeLio
changed the title
Help needed making work rule-based constraint featuring variables of different levels
Implementing rule-based constraints featuring variables of different levels
Apr 14, 2024
FranDeLio
changed the title
Implementing rule-based constraints featuring variables of different levels
Implementing rule-based constraints featuring variables on different levels
Apr 14, 2024
Update: I was able to solve this problem using Julia's Bilevel.JuMP. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello Pao devs! First of all thank you for your awesome work!
I wanted to ask a question about how to correctly build the following bilevel optimization program. More specifically, I am struggling with the first constraint, as it features variables from both the model and the submodel.
If I initialize the constraint within the submodel e.g
then I can not access the variable in the model$z$ and I get the error above, and if I initialize the constraint from the model e.g
the program executes with no apparent errors, however the solutions provided violate the 1st constraint.
Hope you can help! Leaving a reproducible example below where the first constraint is initialized from the model (case 2).
The text was updated successfully, but these errors were encountered: