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

Update to MOI v0.9.15 #12

Merged
merged 1 commit into from
May 14, 2021
Merged

Update to MOI v0.9.15 #12

merged 1 commit into from
May 14, 2021

Conversation

blegat
Copy link
Member

@blegat blegat commented May 14, 2021

@blegat blegat merged commit 773b979 into master May 14, 2021
@odow odow deleted the bl/updates branch May 14, 2021 01:08
@laurentbartholdi
Copy link

Nice!
But there's still a problem: I happen to need the code at MOI_wrapper.jl:282, which triggers a "TODO" error:

function _setcoefficient!(m::Optimizer, coef, constr::Integer, blk::Integer, i::Integer, j::Integer)
    if m.blockdims[blk] < 0
        @assert i == j
        push!(m.lpdvars, constr+1)
        push!(m.lpdrows, m.blk[blk] + i - 1) # -1 because indexing starts at 0 in DSDP
        push!(m.lpcoefs, coef)
    else
        error("TODO")
    end
end

@odow
Copy link
Member

odow commented May 14, 2021

Please open an issue with a reproducible example. Although implementing this isn't high priority, so you may need to dive into the code yourself. Also note that there are other SDP solvers available through JuMP: https://jump.dev/JuMP.jl/stable/installation/#Supported-solvers

@laurentbartholdi
Copy link

laurentbartholdi commented May 14, 2021 via email

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.

Broken MOI interface
3 participants