Skip to content

Commit

Permalink
minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jalving committed Aug 8, 2024
1 parent 7d8cefc commit e1da08a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 9 additions & 0 deletions src/backends/moi_backend.jl
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,15 @@ function _create_graph_moi_func(
return moi_func_graph
end

# TODO
function _create_graph_moi_func(
backend::GraphMOIBackend,
moi_func::MOI.VectorAffineFunction,
jump_funcs::Vector{JuMP.GenericAffExpr},
)
return nothing
end

function _create_graph_moi_func(
backend::GraphMOIBackend,
moi_func::MOI.ScalarQuadraticFunction,
Expand Down
2 changes: 0 additions & 2 deletions src/jump_interop.jl
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,6 @@ function MOI.VectorAffineFunction(affs::Vector{GenericAffExpr{C,NodeVariableRef}
return MOI.VectorAffineFunction(terms, constant)
end

# TODO: function moi_function_type

function JuMP.jump_function_type(
obj::OptiObject, ::Type{MOI.ScalarAffineFunction{C}}
) where {C}
Expand Down

0 comments on commit e1da08a

Please sign in to comment.