We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12be322 commit cbe6e00Copy full SHA for cbe6e00
1 file changed
src/constraint.jl
@@ -936,24 +936,6 @@ function MOI.set(
936
end
937
938
### MODIFY
939
-function MOI.modify(
940
- m::Optimizer,
941
- c::MOI.ConstraintIndex{MOI.ScalarAffineFunction{Float64},D},
942
- func::MOI.ScalarConstantChange{Float64},
943
-) where {D<:MOI.AbstractSet}
944
- if !iszero(func.new_constant)
945
- throw(
946
- MOI.ScalarFunctionConstantNotZero{
947
- Float64,
948
- MOI.ScalarAffineFunction{Float64},
949
- D,
950
- }(
951
- func.new_constant,
952
- ),
953
- )
954
- end
955
- return
956
-end
957
958
# Is there a way to do this in Mosek API ? I haven't check so here is an error for now:
959
const _MODIFY_PSD_VAR_ERROR = "Modifying the coefficient of the variable correspond to an entry of a PSD matrix is not supported"
0 commit comments