Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@michaelbynum
Copy link
Contributor

Summary/Motivation:

This PR fixes a bug in the HiGHS interface. The updates that happen to account for changes in mutable parameters rely on references to dictionaries. These dictionaries were being replaced and modified instead of modified in place, leading to inconsistencies.

Legal Acknowledgement

By contributing to this software project, I have read the contribution guide and agree to the following terms and conditions for my contribution:

  1. I agree my contributions are submitted under the BSD license.
  2. I represent I am authorized to make the contributions and grant the license. If my employer has rights to intellectual property that includes these contributions, I represent that I have received permission to make contributions and grant the required license on behalf of that employer.

@codecov
Copy link

codecov bot commented Sep 17, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.02% ⚠️

Comparison is base (376a2f7) 88.09% compared to head (d858b6b) 88.08%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2995      +/-   ##
==========================================
- Coverage   88.09%   88.08%   -0.02%     
==========================================
  Files         769      769              
  Lines       89493    89497       +4     
==========================================
- Hits        78841    78832       -9     
- Misses      10652    10665      +13     
Flag Coverage Δ
linux 85.18% <100.00%> (+<0.01%) ⬆️
osx 74.98% <0.00%> (-0.01%) ⬇️
other 85.36% <100.00%> (+<0.01%) ⬆️
win 82.42% <100.00%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
pyomo/contrib/appsi/solvers/highs.py 92.47% <100.00%> (+0.05%) ⬆️

... and 2 files with indirect coverage changes

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

@jsiirola jsiirola merged commit c471729 into Pyomo:main Sep 18, 2023
@michaelbynum michaelbynum deleted the highs_fix branch February 25, 2024 04:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants