-
Notifications
You must be signed in to change notification settings - Fork 41
NLPBlock appears to be ignored #97
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
This is mainly caused by the fact that we use our own model copying functions (which up to this point ignore any unknown MOI.attributes) rather than using the MOI |
migarstka
added a commit
that referenced
this issue
Nov 18, 2019
- Instead of writing specific functions for the attributes objective_function, VariablePrimalStart, ConstraintPrimalStart, ConstraintDualStart, loop over all ModelAttributes, VariableAttributes and ConstraintAttributes, call the corresponding `load(attribute)` function (if attribute is supported), or throw an error otherwise. - Rename some of the MOI.set to MOI.load. This is necessary to trigger model-emptying in some cases. - Modify unit tests accordingly. - Add unit test for an unsupported attribute - In response to the problem discussed in issue #97
Resolved by 39d7bc1 |
migarstka
added a commit
that referenced
this issue
Nov 18, 2019
- Instead of writing specific functions for the attributes objective_function, VariablePrimalStart, ConstraintPrimalStart, ConstraintDualStart, loop over all ModelAttributes, VariableAttributes and ConstraintAttributes, call the corresponding `load(attribute)` function (if attribute is supported), or throw an error otherwise. - Rename some of the MOI.set to MOI.load. This is necessary to trigger model-emptying in some cases. - Modify unit tests accordingly. - Add unit test for an unsupported attribute - In response to the problem discussed in issue #97
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
An error should be thrown if there's an
NLPBlock
in the input. See https://discourse.julialang.org/t/jump-not-getting-the-correct-solution-of-the-optimization-problem/29947.The text was updated successfully, but these errors were encountered: