Skip to content

fix scale of diagonal terms in ScalarQuadraticFunction #308

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

Merged
merged 1 commit into from
Apr 15, 2018
Merged

Conversation

mlubin
Copy link
Member

@mlubin mlubin commented Apr 15, 2018

They seem to be correct in other places, but these two qcp tests have terms that don't match the math description. The tests pass with Ipopt after this change.
@joaquimg @blegat

@codecov-io
Copy link

codecov-io commented Apr 15, 2018

Codecov Report

Merging #308 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #308   +/-   ##
=======================================
  Coverage   96.19%   96.19%           
=======================================
  Files          25       25           
  Lines        4227     4227           
=======================================
  Hits         4066     4066           
  Misses        161      161
Impacted Files Coverage Δ
src/Test/contquadratic.jl 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 29b16b1...c6fe78e. Read the comment docs.

Copy link
Member

@blegat blegat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can make sure that it's correct by adding the test that the ConstraintPrimal is 2.

@mlubin mlubin merged commit 6a51dfc into master Apr 15, 2018
@mlubin mlubin deleted the ml/qpscale branch April 15, 2018 21:08
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.

3 participants