File tree Expand file tree Collapse file tree 1 file changed +0
-27
lines changed
Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -238,33 +238,6 @@ function _convert_mof_to_expr(
238238 end
239239end
240240
241- # function _convert_mof_to_expr(
242- # node::T,
243- # node_list::Vector{T},
244- # name_map::Dict{String,MOI.VariableIndex},
245- # ) where {T}
246- # head = haskey(node, "type") ? node["type"] : node["head"]
247- # if head == "real"
248- # return node["value"]
249- # elseif head == "complex"
250- # return Complex(node["real"], node["imag"])
251- # elseif head == "variable"
252- # return name_map[node["name"]]
253- # elseif head == "node"
254- # return _convert_mof_to_expr(
255- # node_list[node["index"]],
256- # node_list,
257- # name_map,
258- # )
259- # else
260- # expr = Expr(:call, Symbol(head))
261- # for arg in node["args"]
262- # push!(expr.args, _convert_mof_to_expr(arg, node_list, name_map))
263- # end
264- # return expr
265- # end
266- # end
267-
268241function test_Roundtrip_nonlinear_expressions ()
269242 x = MOI. VariableIndex (123 )
270243 y = MOI. VariableIndex (456 )
You can’t perform that action at this time.
0 commit comments