-
Notifications
You must be signed in to change notification settings - Fork 94
Closed
Description
Running:
using JET
report_package("MathOptInterface")
generates a lot of possible errors. Many are probably trivial to fix. I haven't noticed any serious problems, they're largely due to type stability of union splitting --- something that works at runtime but might prevent compilation etc.
═════ 211 possible errors found ═════
┌ MathOptInterface.VectorAffineFunction{T}(f::MathOptInterface.VectorOfVariables) where T @ MathOptInterface /Users/oscar/.julia/dev/MathOptInterface/src/functions.jl:552
│ no matching method found `MathOptInterface.VectorAffineFunction(::Vector, ::Matrix{Float64})` (1/2 union split): MathOptInterface.VectorAffineFunction(terms, MathOptInterface.zeros(T::Any, MathOptInterface.output_dimension(f::MathOptInterface.VectorOfVariables)::Int64)::Union{Vector, Matrix{Float64}})
└────────────────────
┌ dimension(s::MathOptInterface.AbstractVectorSet) @ MathOptInterface /Users/oscar/.julia/dev/MathOptInterface/src/sets.jl:148
│┌ getproperty(set::MathOptInterface.Scaled{MathOptInterface.PositiveSemidefiniteConeTriangle}, f::Symbol) @ MathOptInterface /Users/oscar/.julia/dev/MathOptInterface/src/sets.jl:1820
││ type Scaled has no field dimension: MathOptInterface.getfield(set::MathOptInterface.Scaled{MathOptInterface.PositiveSemidefiniteConeTriangle}, f::Symbol)
│└────────────────────
┌ add_constrained_variables(model::MathOptInterface.ModelLike, sets::AbstractVector{<:MathOptInterface.AbstractScalarSet}) @ MathOptInterface /Users/oscar/.julia/dev/MathOptInterface/src/variables.jl:185
│┌ add_constrained_variable(b::MathOptInterface.Bridges.AbstractBridgeOptimizer, set::MathOptInterface.AbstractScalarSet) @ MathOptInterface.Bridges /Users/oscar/.julia/dev/MathOptInterface/src/Bridges/bridge_optimizer.jl:1961
││┌ is_variable_bridged(b::MathOptInterface.Bridges.LazyBridgeOptimizer, S::Type{<:MathOptInterface.AbstractScalarSet}) @ MathOptInterface.Bridges /Users/oscar/.julia/dev/MathOptInterface/src/Bridges/lazy_bridge_optimizer.jl:467
│││┌ node(b::MathOptInterface.Bridges.LazyBridgeOptimizer, S::Type{<:MathOptInterface.AbstractScalarSet}) @ MathOptInterface.Bridges /Users/oscar/.julia/dev/MathOptInterface/src/Bridges/lazy_bridge_optimizer.jl:249
││││┌ node(b::MathOptInterface.Bridges.LazyBridgeOptimizer, F::Type{<:MathOptInterface.AbstractFunction}, S::Type{<:MathOptInterface.AbstractScalarSet}) @ MathOptInterface.Bridges /Users/oscar/.julia/dev/MathOptInterface/src/Bridges/lazy_bridge_optimizer.jl:295
│││││┌ node(b::MathOptInterface.Bridges.LazyBridgeOptimizer, F::Type{<:MathOptInterface.AbstractFunction}) @ MathOptInterface.Bridges /Users/oscar/.julia/dev/MathOptInterface/src/Bridges/lazy_bridge_optimizer.jl:325
││││││ invalid builtin function call: edge = typeassert(MathOptInterface.Bridges._edge(b::MathOptInterface.Bridges.LazyBridgeOptimizer, i::Int64, bridge_type)::MathOptInterface.Bridges.Edge, MathOptInterface.Bridges.ObjectiveEdge)
│││││└────────────────────
│┌ add_constrained_variable(b::MathOptInterface.Bridges.AbstractBridgeOptimizer, set::MathOptInterface.AbstractScalarSet) @ MathOptInterface.Bridges /Users/oscar/.julia/dev/MathOptInterface/src/Bridges/bridge_optimizer.jl:1973
││┌ add_variable(b::MathOptInterface.Bridges.AbstractBridgeOptimizer) @ MathOptInterface.Bridges /Users/oscar/.julia/dev/MathOptInterface/src/Bridges/bridge_optimizer.jl:1881
│││┌ add_constrained_variables(b::MathOptInterface.Bridges.AbstractBridgeOptimizer, set::MathOptInterface.Scaled) @ MathOptInterface.Bridges /Users/oscar/.julia/dev/MathOptInterface/src/Bridges/bridge_optimizer.jl:1928
││││┌ is_variable_bridged(b::MathOptInterface.Bridges.LazyBridgeOptimizer, S::Type{MathOptInterface.Scaled{S}} where S<:MathOptInterface.AbstractVectorSet) @ MathOptInterface.Bridges /Users/oscar/.julia/dev/MathOptInterface/src/Bridges/lazy_bridge_optimizer.jl:467
│││││┌ node(b::MathOptInterface.Bridges.LazyBridgeOptimizer, S::Type{MathOptInterface.Scaled{S}} where S<:MathOptInterface.AbstractVectorSet) @ MathOptInterface.Bridges /Users/oscar/.julia/dev/MathOptInterface/src/Bridges/lazy_bridge_optimizer.jl:262
││││││┌ _edge(b::MathOptInterface.Bridges.LazyBridgeOptimizer, index::Int64, BT::Type{<:MathOptInterface.Bridges.Variable.SetMapBridge{T, S1, MathOptInterface.Scaled{S}}} where {T, S1, S<:MathOptInterface.AbstractVectorSet}) @ MathOptInterface.Bridges /Users/oscar/.julia/dev/MathOptInterface/src/Bridges/lazy_bridge_optimizer.jl:155
│││││││┌ _variable_nodes(b::MathOptInterface.Bridges.LazyBridgeOptimizer, ::Type{<:MathOptInterface.Bridges.Variable.SetMapBridge{T, S1, MathOptInterface.Scaled{S}}} where {T, S1, S<:MathOptInterface.AbstractVectorSet}) @ MathOptInterface.Bridges /Users/oscar/.julia/dev/MathOptInterface/src/Bridges/lazy_bridge_optimizer.jl:132
││││││││┌ setindex!(A::Vector{MathOptInterface.Bridges.VariableNode}, x::MathOptInterface.Bridges.ObjectiveNode, i1::Int64) @ Base ./array.jl:969
│││││││││ no matching method found `convert(::Type{MathOptInterface.Bridges.VariableNode}, ::MathOptInterface.Bridges.ObjectiveNode)`: convert(T::Type{MathOptInterface.Bridges.VariableNode}, x::MathOptInterface.Bridges.ObjectiveNode)
││││││││└────────────────────
│││┌ add_keys_for_bridge(map::MathOptInterface.Bridges.Variable.Map, bridge_fun::MathOptInterface.Bridges.var"#33#34"{_A, MathOptInterface.Reals} where _A, set::MathOptInterface.Reals) @ MathOptInterface.Bridges.Variable /Users/oscar/.julia/dev/MathOptInterface/src/Bridges/Variable/map.jl:374
││││ no matching method found `unbridged_map(::Nothing, ::Vector{MathOptInterface.VariableIndex})` (1/2 union split): mappings = MathOptInterface.Bridges.Variable.unbridged_map(((map::MathOptInterface.Bridges.Variable.Map).bridges::Vector{Union{Nothing, MathOptInterface.Bridges.Variable.AbstractBridge}})[bridge_index::Int64]::Union{Nothing, MathOptInterface.Bridges.Variable.AbstractBridge}, variables::Vector{MathOptInterface.VariableIndex})
│││└────────────────────
│││┌ add_keys_for_bridge(map::MathOptInterface.Bridges.Variable.Map, bridge_fun::MathOptInterface.Bridges.var"#33#34"{_A, MathOptInterface.Reals} where _A, set::MathOptInterface.Reals) @ MathOptInterface.Bridges.Variable /Users/oscar/.julia/dev/MathOptInterface/src/Bridges/Variable/map.jl:379
││││ no matching method found `push!(::Nothing, ::Pair)` (1/2 union split): MathOptInterface.Bridges.Variable.push!((map::MathOptInterface.Bridges.Variable.Map).unbridged_function::Union{Nothing, Dict{MathOptInterface.VariableIndex, Tuple{Int64, MathOptInterface.AbstractScalarFunction}}}, (mapping.first::Any MathOptInterface.Bridges.Variable.:(=>) tuple(bridge_index::Int64, mapping.second::Any)::Tuple{Int64, Any})::Pair)
│││└────────────────────
│││┌ add_keys_for_bridge(map::MathOptInterface.Bridges.Variable.Map, bridge_fun::MathOptInterface.Bridges.var"#33#34"{_A, MathOptInterface.Reals} where _A, set::MathOptInterface.Reals) @ MathOptInterface.Bridges.Variable /Users/oscar/.julia/dev/MathOptInterface/src/Bridges/Variable/map.jl:379
││││ no matching method found `push!(::Nothing, ::Pair)` (1/2 union split): MathOptInterface.Bridges.Variable.push!((map::MathOptInterface.Bridges.Variable.Map).unbridged_function::Union{Nothing, Dict{MathOptInterface.VariableIndex, Tuple{Int64, MathOptInterface.AbstractScalarFunction}}}, ((mapping::Any).first::Any MathOptInterface.Bridges.Variable.:(=>) tuple(bridge_index::Int64, (mapping::Any).second::Any)::Tuple{Int64, Any})::Pair)::Any
│││└────────────────────
┌ eval_variables(value_fn::Function, f::MathOptInterface.VectorOfVariables) @ MathOptInterface.Utilities /Users/oscar/.julia/dev/MathOptInterface/src/Utilities/functions.jl:153
│┌ materialize(bc::Base.Broadcast.Broadcasted{Base.Broadcast.DefaultArrayStyle{1}, Nothing, _A, Tuple{Vector{MathOptInterface.VariableIndex}}} where _A) @ Base.Broadcast ./broadcast.jl:873
││┌ copy(bc::Base.Broadcast.Broadcasted{Base.Broadcast.DefaultArrayStyle{1}, Tuple{Base.OneTo{Int64}}, _A, Tuple{Vector{MathOptInterface.VariableIndex}}} where _A) @ Base.Broadcast ./broadcast.jl:898
│││┌ copyto!(dest::BitVector, bc::Base.Broadcast.Broadcasted{Base.Broadcast.DefaultArrayStyle{1}, Tuple{Base.OneTo{Int64}}, _A, Tuple{Vector{MathOptInterface.VariableIndex}}} where _A) @ Base.Broadcast ./broadcast.jl:926
││││┌ copyto!(dest::BitVector, bc::Base.Broadcast.Broadcasted{Nothing, Tuple{Base.OneTo{Int64}}, _A, Tuple{Vector{MathOptInterface.VariableIndex}}} where _A) @ Base.Broadcast ./broadcast.jl:984
│││││┌ copyto!(dest::BitVector, bc::Base.Broadcast.Broadcasted{Nothing, Tuple{Base.OneTo{Int64}}, _A, Tuple{Vector{MathOptInterface.VariableIndex}}} where _A) @ Base.Broadcast ./broadcast.jl:967
││││││┌ copyto!(dest::BitVector, src::Vector{MathOptInterface.VariableIndex}) @ Base ./bitarray.jl:476
│││││││┌ unsafe_copyto!(dest::BitVector, doffs::Int64, src::Vector{MathOptInterface.VariableIndex}, soffs::Int64, n::Int64) @ Base ./bitarray.jl:457
││││││││┌ copy_to_bitarray_chunks!(Bc::Vector{UInt64}, pos_d::Int64, C::Vector{MathOptInterface.VariableIndex}, pos_s::Int64, numbits::Int64) @ Base ./multidimensional.jl:1343
│││││││││ no matching method found `Bool(::MathOptInterface.VariableIndex)`: Base.Bool((C::Vector{MathOptInterface.VariableIndex})[cind::Int64]::MathOptInterface.VariableIndex)
││││││││└────────────────────
┌ vectorize(x::AbstractVector{MathOptInterface.VariableIndex}) @ MathOptInterface.Utilities /Users/oscar/.julia/dev/MathOptInterface/src/Utilities/functions.jl:2124
│┌ MathOptInterface.VectorOfVariables(variables::AbstractVector{MathOptInterface.VariableIndex}) @ MathOptInterface /Users/oscar/.julia/dev/MathOptInterface/src/functions.jl:439
││┌ convert(::Type{Vector{MathOptInterface.VariableIndex}}, a::AbstractVector{MathOptInterface.VariableIndex}) @ Base ./array.jl:613
│││┌ Vector{MathOptInterface.VariableIndex}(r::Core.Compiler.AbstractRange{MathOptInterface.VariableIndex}) @ Core.Compiler ./range.jl:1374
││││┌ iterate(r::Core.Compiler.OrdinalRange{MathOptInterface.VariableIndex}) @ Core.Compiler ./range.jl:887
│││││┌ isempty(r::Core.Compiler.StepRange{MathOptInterface.VariableIndex}) @ Core.Compiler ./range.jl:659
││││││┌ >(x::MathOptInterface.VariableIndex, y::MathOptInterface.VariableIndex) @ Core.Compiler ./operators.jl:369
│││││││┌ <(x::MathOptInterface.VariableIndex, y::MathOptInterface.VariableIndex) @ Core.Compiler ./operators.jl:343
││││││││ no matching method found `isless(::MathOptInterface.VariableIndex, ::MathOptInterface.VariableIndex)`: Core.Compiler.isless(x::MathOptInterface.VariableIndex, y::MathOptInterface.VariableIndex)
│││││││└────────────────────
│││││┌ length(r::Core.Compiler.OrdinalRange{MathOptInterface.VariableIndex}) @ Core.Compiler ./range.jl:730
││││││┌ step(r::Core.Compiler.AbstractUnitRange{MathOptInterface.VariableIndex}) @ Core.Compiler ./range.jl:687
│││││││┌ oneunit(::Type{MathOptInterface.VariableIndex}) @ Core.Compiler ./number.jl:370
││││││││ no matching method found `one(::Type{MathOptInterface.VariableIndex})`: Core.Compiler.one(T::Type{MathOptInterface.VariableIndex})
│││││││└────────────────────
...
┌ get(model::MathOptInterface.FileFormats.NL.Model, attr::MathOptInterface.AbstractVariableAttribute, x::MathOptInterface.VariableIndex) @ MathOptInterface.FileFormats.NL /Users/oscar/.julia/dev/MathOptInterface/src/FileFormats/NL/NL.jl:806
│ no matching method found `get(::Nothing, ::MathOptInterface.AbstractVariableAttribute, ::MathOptInterface.VariableIndex)` (1/2 union split): MathOptInterface.get((model::MathOptInterface.FileFormats.NL.Model).model::Union{Nothing, MathOptInterface.Utilities.UniversalFallback{MathOptInterface.Utilities.Model{Float64}}}, attr::MathOptInterface.AbstractVariableAttribute, x::MathOptInterface.VariableIndex)
└────────────────────
┌ _parse_dimensions(dims::Any) @ MathOptInterface.FileFormats.SDPA /Users/oscar/.julia/dev/MathOptInterface/src/FileFormats/SDPA/SDPA.jl:307
│┌ findfirst(testf::MathOptInterface.FileFormats.SDPA.var"#isvalid#8", A::Union{AbstractString, AbstractArray}) @ Base ./array.jl:2122
││┌ findnext(testf::MathOptInterface.FileFormats.SDPA.var"#isvalid#8", B::BitArray, start::Integer) @ Base ./bitarray.jl:1528
│││┌ _findnext_int(testf::MathOptInterface.FileFormats.SDPA.var"#isvalid#8", B::BitArray, start::Int64) @ Base ./bitarray.jl:1530
││││┌ (::MathOptInterface.FileFormats.SDPA.var"#isvalid#8")(char::Bool) @ MathOptInterface.FileFormats.SDPA /Users/oscar/.julia/dev/MathOptInterface/src/FileFormats/SDPA/SDPA.jl:306
│││││ no matching method found `isdigit(::Bool)`: MathOptInterface.FileFormats.SDPA.isdigit(char::Bool)
││││└────────────────────
┌ read!(io::IO, model::MathOptInterface.Utilities.GenericModel{T, MathOptInterface.Utilities.ObjectiveContainer{T}, MathOptInterface.Utilities.VariablesContainer{T}, MathOptInterface.FileFormats.SDPA.ModelVectorConstraints{T, MathOptInterface.Utilities.VectorOfConstraints{MathOptInterface.VectorAffineFunction{T}, MathOptInterface.Nonnegatives}, MathOptInterface.Utilities.VectorOfConstraints{MathOptInterface.VectorAffineFunction{T}, MathOptInterface.PositiveSemidefiniteConeTriangle}}}) where T @ MathOptInterface.FileFormats.SDPA /Users/oscar/.julia/dev/MathOptInterface/src/FileFormats/SDPA/SDPA.jl:382
│┌ _parse_dimensions(dims::SubString{String}) @ MathOptInterface.FileFormats.SDPA /Users/oscar/.julia/dev/MathOptInterface/src/FileFormats/SDPA/SDPA.jl:315
││ no matching method found `(::Colon)(::Int64, ::Nothing)` (1/2 union split): (start::Int64 MathOptInterface.FileFormats.SDPA.:(:) stop::Union{Nothing, Int64})
│└────────────────────
┌ read!(io::IO, model::MathOptInterface.Utilities.GenericModel{T, MathOptInterface.Utilities.ObjectiveContainer{T}, MathOptInterface.Utilities.VariablesContainer{T}, MathOptInterface.FileFormats.SDPA.ModelVectorConstraints{T, MathOptInterface.Utilities.VectorOfConstraints{MathOptInterface.VectorAffineFunction{T}, MathOptInterface.Nonnegatives}, MathOptInterface.Utilities.VectorOfConstraints{MathOptInterface.VectorAffineFunction{T}, MathOptInterface.PositiveSemidefiniteConeTriangle}}}) where T @ MathOptInterface.FileFormats.SDPA /Users/oscar/.julia/dev/MathOptInterface/src/FileFormats/SDPA/SDPA.jl:440
│ no matching method found `getindex(::Nothing, ::Int64)` (1/2 union split): (funcs::Union{Nothing, Vector})[block::Int64]
└────────────────────
┌ read!(io::IO, model::MathOptInterface.Utilities.GenericModel{T, MathOptInterface.Utilities.ObjectiveContainer{T}, MathOptInterface.Utilities.VariablesContainer{T}, MathOptInterface.FileFormats.SDPA.ModelVectorConstraints{T, MathOptInterface.Utilities.VectorOfConstraints{MathOptInterface.VectorAffineFunction{T}, MathOptInterface.Nonnegatives}, MathOptInterface.Utilities.VectorOfConstraints{MathOptInterface.VectorAffineFunction{T}, MathOptInterface.PositiveSemidefiniteConeTriangle}}}) where T @ MathOptInterface.FileFormats.SDPA /Users/oscar/.julia/dev/MathOptInterface/src/FileFormats/SDPA/SDPA.jl:444
│ no matching method found `getindex(::Nothing, ::Int64)` (1/2 union split): (funcs::Union{Nothing, Vector})[block::Int64]
└────────────────────
┌ read!(io::IO, model::MathOptInterface.Utilities.GenericModel{T, MathOptInterface.Utilities.ObjectiveContainer{T}, MathOptInterface.Utilities.VariablesContainer{T}, MathOptInterface.FileFormats.SDPA.ModelVectorConstraints{T, MathOptInterface.Utilities.VectorOfConstraints{MathOptInterface.VectorAffineFunction{T}, MathOptInterface.Nonnegatives}, MathOptInterface.Utilities.VectorOfConstraints{MathOptInterface.VectorAffineFunction{T}, MathOptInterface.PositiveSemidefiniteConeTriangle}}}) where T @ MathOptInterface.FileFormats.SDPA /Users/oscar/.julia/dev/MathOptInterface/src/FileFormats/SDPA/SDPA.jl:444
│ no matching method found `getindex(::Nothing, ::Int64)` (1/2 union split): (scalar_vars::Union{Nothing, Vector})[matrix::Int64]
└────────────────────
┌ read!(io::IO, model::MathOptInterface.Utilities.GenericModel{T, MathOptInterface.Utilities.ObjectiveContainer{T}, MathOptInterface.Utilities.VariablesContainer{T}, MathOptInterface.FileFormats.SDPA.ModelVectorConstraints{T, MathOptInterface.Utilities.VectorOfConstraints{MathOptInterface.VectorAffineFunction{T}, MathOptInterface.Nonnegatives}, MathOptInterface.Utilities.VectorOfConstraints{MathOptInterface.VectorAffineFunction{T}, MathOptInterface.PositiveSemidefiniteConeTriangle}}}) where T @ MathOptInterface.FileFormats.SDPA /Users/oscar/.julia/dev/MathOptInterface/src/FileFormats/SDPA/SDPA.jl:455
│ no matching method found `(::Colon)(::Int64, ::Nothing)` (1/2 union split): (1 MathOptInterface.FileFormats.SDPA.:(:) num_blocks::Union{Nothing, Int64})
└────────────────────
┌ read!(io::IO, model::MathOptInterface.Utilities.GenericModel{T, MathOptInterface.Utilities.ObjectiveContainer{T}, MathOptInterface.Utilities.VariablesContainer{T}, MathOptInterface.FileFormats.SDPA.ModelVectorConstraints{T, MathOptInterface.Utilities.VectorOfConstraints{MathOptInterface.VectorAffineFunction{T}, MathOptInterface.Nonnegatives}, MathOptInterface.Utilities.VectorOfConstraints{MathOptInterface.VectorAffineFunction{T}, MathOptInterface.PositiveSemidefiniteConeTriangle}}}) where T @ MathOptInterface.FileFormats.SDPA /Users/oscar/.julia/dev/MathOptInterface/src/FileFormats/SDPA/SDPA.jl:456
│ no matching method found `getindex(::Nothing, ::Int64)` (1/2 union split): (funcs::Union{Nothing, Vector})[block]
└────────────────────
┌ read!(io::IO, model::MathOptInterface.Utilities.GenericModel{T, MathOptInterface.Utilities.ObjectiveContainer{T}, MathOptInterface.Utilities.VariablesContainer{T}, MathOptInterface.FileFormats.SDPA.ModelVectorConstraints{T, MathOptInterface.Utilities.VectorOfConstraints{MathOptInterface.VectorAffineFunction{T}, MathOptInterface.Nonnegatives}, MathOptInterface.Utilities.VectorOfConstraints{MathOptInterface.VectorAffineFunction{T}, MathOptInterface.PositiveSemidefiniteConeTriangle}}}) where T @ MathOptInterface.FileFormats.SDPA /Users/oscar/.julia/dev/MathOptInterface/src/FileFormats/SDPA/SDPA.jl:456
│ no matching method found `getindex(::Nothing, ::Int64)` (1/2 union split): (funcs::Union{Nothing, Vector})[block::Int64]::Any
└────────────────────
┌ read!(io::IO, model::MathOptInterface.Utilities.GenericModel{T, MathOptInterface.Utilities.ObjectiveContainer{T}, MathOptInterface.Utilities.VariablesContainer{T}, MathOptInterface.FileFormats.SDPA.ModelVectorConstraints{T, MathOptInterface.Utilities.VectorOfConstraints{MathOptInterface.VectorAffineFunction{T}, MathOptInterface.Nonnegatives}, MathOptInterface.Utilities.VectorOfConstraints{MathOptInterface.VectorAffineFunction{T}, MathOptInterface.PositiveSemidefiniteConeTriangle}}}) where T @ MathOptInterface.FileFormats.SDPA /Users/oscar/.julia/dev/MathOptInterface/src/FileFormats/SDPA/SDPA.jl:459
│ no matching method found `getindex(::Nothing, ::Int64)` (1/2 union split): (scalar_vars::Union{Nothing, Vector})[var_idx]
└────────────────────
┌ read!(io::IO, model::MathOptInterface.Utilities.GenericModel{T, MathOptInterface.Utilities.ObjectiveContainer{T}, MathOptInterface.Utilities.VariablesContainer{T}, MathOptInterface.FileFormats.SDPA.ModelVectorConstraints{T, MathOptInterface.Utilities.VectorOfConstraints{MathOptInterface.VectorAffineFunction{T}, MathOptInterface.Nonnegatives}, MathOptInterface.Utilities.VectorOfConstraints{MathOptInterface.VectorAffineFunction{T}, MathOptInterface.PositiveSemidefiniteConeTriangle}}}) where T @ MathOptInterface.FileFormats.SDPA /Users/oscar/.julia/dev/MathOptInterface/src/FileFormats/SDPA/SDPA.jl:459
│ no matching method found `getindex(::Nothing, ::Int64)` (1/2 union split): (scalar_vars::Union{Nothing, Vector})[var_idx::Int64]::Any
└────────────────────
┌ Model(; format::MathOptInterface.FileFormats.FileFormat, filename::Union{Nothing, String}, kwargs::Base.Pairs{Symbol, V, Tuple{Vararg{Symbol, N}}, NamedTuple{names, T}} where {V, N, names, T<:Tuple{Vararg{Any, N}}}) @ MathOptInterface.FileFormats /Users/oscar/.julia/dev/MathOptInterface/src/FileFormats/FileFormats.jl:70
│ no matching method found `kwcall(::NamedTuple{names, T} where {N, names, T<:Tuple{Vararg{Any, N}}}, ::Type{MathOptInterface.Utilities.GenericModel{T, MathOptInterface.Utilities.ObjectiveContainer{T}, MathOptInterface.Utilities.VariablesContainer{T}, MathOptInterface.FileFormats.CBF.ModelFunctionConstraints{T}} where T})`: Core.kwcall(merge(Base.NamedTuple()::NamedTuple{(), Tuple{}}, kwargs::Base.Pairs{…})::NamedTuple{names, T} where {N, names, T<:Tuple{Vararg{Any, N}}}, MathOptInterface.FileFormats.CBF.Model)
└────────────────────
blegat and mzy2240
Metadata
Metadata
Assignees
Labels
No labels