Skip to content

Mark that AMPL Gurobi 12.0.3 returns incorrect dual values#3750

Merged
mrmundt merged 2 commits intoPyomo:mainfrom
jsiirola:ampl-gurobi-duals
Oct 14, 2025
Merged

Mark that AMPL Gurobi 12.0.3 returns incorrect dual values#3750
mrmundt merged 2 commits intoPyomo:mainfrom
jsiirola:ampl-gurobi-duals

Conversation

@jsiirola
Copy link
Copy Markdown
Member

Fixes # .

Summary/Motivation:

This resolves test failures we are currently seeing on Jenkins. AMPL Gurobi 12.0.3 returns all 0.0 values for duals for 4 problems (solved in presolve). The original suggestion of turning off presolve led to other test failures (and still partially incorrect duals).

This updates the tests to mark these as expected dual failures:

  • LP_duals_maximize
  • LP_duals_minimize
  • LP_inactive_index
  • QP_simple

Changes proposed in this PR:

  • Mark expected dual test failures

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.

@blnicho blnicho moved this from Todo to Reviewer Approved in Pyomo 6.9.5 Release Oct 14, 2025
@mrmundt mrmundt merged commit fd5e4f0 into Pyomo:main Oct 14, 2025
35 checks passed
@github-project-automation github-project-automation bot moved this from Reviewer Approved to Done in Pyomo 6.9.5 Release Oct 14, 2025
@jsiirola jsiirola deleted the ampl-gurobi-duals branch October 14, 2025 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

3 participants