-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Description
I have commented it out since it does not work, it gives a MethodError
MosekTools.jl/src/constraint.jl
Lines 773 to 790 in 53ede41
| # Deleting a constraint block means clearing non-zeros from the its | |
| # AFE rows and resetting the underlying ACC to an empty domain. We do | |
| # not reclaim the AFEs. | |
| # function MOI.delete(m::Optimizer, | |
| # cref::MOI.ConstraintIndex{F,D}) where {F <: MOI.VectorAffineFunction{Float64}, | |
| # D <: VectorConeDomain} | |
| # MOI.throw_if_not_valid(m, cref) | |
| # putaccname(m.task,cref.value,"") | |
| # afeidxs = getaccafeidxlist(m.task,cref.value) | |
| # # clear afe non-zeros, but don't delete or reuse afe idx | |
| # # FIXME gives a MethodError | |
| # putafefrowlist(afeidxs,zeros(Int32,length(afeidxs)),zeros(Int64,length(afeidxs)),Int32[],Float64[]) | |
| # putaccdom(m.task, | |
| # cref.value, | |
| # 1, # the empty zero domain, | |
| # Int64[], | |
| # Float64[]) | |
| # end |
MosekTools.jl/test/runtests.jl
Lines 79 to 80 in 53ede41
| # TODO remove `MOI.delete` once it is implemented for ACC | |
| exclude=Any[MOI.ConstraintName, MOI.VariableBasisStatus, MOI.ConstraintBasisStatus, MOI.delete], # result in errors for now |
cc @ulfworsoe
Metadata
Metadata
Assignees
Labels
No labels