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

Add support for get MOI.NLPBlock #398

Merged
merged 1 commit into from
Jan 4, 2024
Merged

Add support for get MOI.NLPBlock #398

merged 1 commit into from
Jan 4, 2024

Conversation

odow
Copy link
Member

@odow odow commented Jan 4, 2024

@ccoffrin you can replace
https://github.com/lanl-ansi/rosetta-opf/blob/1867107cb8b2d036dcd7ddac13637f627dd84ab5/jump.jl#L119C5-L119C55
with

nlp_block = unsafe_backend(model).nlp_data

but once this is merged you'll be able to use

nlp_block = JuMP.MOI.get(unsafe_backend(model), JuMP.MOI.NLPBlock())

Copy link

codecov bot commented Jan 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (04178d8) 94.22% compared to head (e0155d0) 94.25%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #398      +/-   ##
==========================================
+ Coverage   94.22%   94.25%   +0.02%     
==========================================
  Files           4        4              
  Lines         953      957       +4     
==========================================
+ Hits          898      902       +4     
  Misses         55       55              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@odow odow merged commit 5e4d7f2 into master Jan 4, 2024
14 checks passed
@odow odow deleted the od/nlp-block branch January 4, 2024 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant