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

Dual value tests broken #49

Closed
matbesancon opened this issue Dec 6, 2020 · 3 comments
Closed

Dual value tests broken #49

matbesancon opened this issue Dec 6, 2020 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@matbesancon
Copy link
Collaborator

Multiple tests on dual values are broken, with the following form:

Differentiating a simple PSD: Error During Test at /home/mbesancon/Documents/crptests/project_julia/DiffOpt.jl/test/MOI_wrapper.jl:794
  Test threw exception
  Expression: ≈(y, [0.33333333, -0.23570226, -0.23570226, 0.33333333, -0.23570226, 0.33333333], atol = ATOL, rtol = RTOL)
  DimensionMismatch("dimensions must match: a has dims (Base.OneTo(1),), b has dims (Base.OneTo(6),), mismatch at 1")

y is a Vector{Union{Float64, Vector{Float64}}} and cannot be compared with a simple vector of floats

@matbesancon matbesancon added the bug Something isn't working label Dec 6, 2020
@matbesancon
Copy link
Collaborator Author

  1. the structure of the dual variables should be documented somewhere
  2. the tests should be fixed and we should make sure they don't rely on a constraint order that should not be assumed

@matbesancon
Copy link
Collaborator Author

ping @Aks1996

@matbesancon
Copy link
Collaborator Author

I'll close this as corrected by the PR integrating MatOI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants