-
Notifications
You must be signed in to change notification settings - Fork 92
Printing models with parameters #2762
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
Comments
I don't think we have a convention for what to do with bridged names. |
Do we bridge the variables themselves? or just the constraints? |
It's implemented as a variable bridge: https://github.com/jump-dev/MathOptInterface.jl/blob/master/src/Bridges/Variable/bridges/ParameterToEqualToBridge.jl |
So the issue is here: MathOptInterface.jl/src/Bridges/bridge_optimizer.jl Lines 1687 to 1700 in bc869ec
If the variable is bridged we don't attempt to set the variable name of the inner. I don't know that I'm strongly motivated to fix this. |
Consider:
The resulting file is:
It seems that, once the parameter goes to the
ParameterToEqualToBridge
the name information is lostThe text was updated successfully, but these errors were encountered: