-
Notifications
You must be signed in to change notification settings - Fork 14
Pass attributes through Objective.FunctionConversionBridge #287
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
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #287 +/- ##
==========================================
- Coverage 89.08% 88.90% -0.19%
==========================================
Files 15 15
Lines 1969 1973 +4
==========================================
Hits 1754 1754
- Misses 215 219 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
I am still getting the same error (I think) in your branch using the example from the issue:
|
Should be fixed now |
First example runs with no errors!
But this could be a different issue! |
I got the same error, this is because MOI.set.(
model,
DiffOpt.ForwardConstraintFunction(),
c3,
sum(x) + 1,
) is incorrect (the correct one is given in #285 (comment)). First, no need to broadcast because every argument is scalar. |
@andrewrosemberg Can you check if this fixes your issue ?
Closes #285