We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61a5ec7 commit ede681fCopy full SHA for ede681f
test/Bridges/Objective/FunctionConversionBridge.jl
@@ -28,6 +28,13 @@ struct VariableDifference <: MOI.AbstractScalarFunction
28
y::MOI.VariableIndex
29
end
30
31
+function MOI.Utilities.is_coefficient_type(
32
+ ::Type{VariableDifference},
33
+ ::Type{T},
34
+) where {T}
35
+ return true
36
+end
37
+
38
function MOI.Bridges.Constraint.conversion_cost(
39
::Type{<:MOI.ScalarAffineFunction},
40
::Type{VariableDifference},
0 commit comments