We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I run the code optimize_multiple_lineups_baseball.jl I get the following error:
MethodError: no method matching sum(::GenericAffExpr{Float64,VariableRef}; i=1:616) Closest candidates are: sum(::Any) at reduce.jl:511 got unsupported keyword argument "i" sum(::Any, !Matched::StaticArrays.StaticArray{var"#s171",T,N} where N where var"#s171"<:Tuple; dims) where T at C:\Users\VM.julia\packages\StaticArrays\l7lu2\src\mapreduce.jl:251 got unsupported keyword argument "i" sum(::Any, !Matched::AbstractArray; dims) at reducedim.jl:723 got unsupported keyword argument "i" ... macro expansion at rewrite.jl:227 [inlined] macro expansion at macros.jl:830 [inlined] baseball_formulation(::DataFrame, ::Array{Int64,2}, ::Int64, ::Int64, ::Array{Any,1}, ::Array{Any,1}, ::Array{Any,1}, ::Array{Any,1}, ::Array{Any,1}, ::Array{Any,1}, ::Array{Any,1}, ::Array{Int64,2}, ::Array{Int64,2}, ::Array{Int64,2}, ::Array{Int64,2}) at baseball_formulations3.jl:64 create_lineups(::Int64, ::Int64, ::Int64, ::typeof(baseball_formulation), ::String, ::String, ::String) at data_cleaning3.jl:434 top-level scope at optimize_multiple_lineups_baseball3.jl:75 include_string(::Function, ::Module, ::String, ::String) at loading.jl:1088
I would greatly appreciate your help to move forward
Greetings
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When I run the code optimize_multiple_lineups_baseball.jl I get the following error:
MethodError: no method matching sum(::GenericAffExpr{Float64,VariableRef}; i=1:616)
Closest candidates are:
sum(::Any) at reduce.jl:511 got unsupported keyword argument "i"
sum(::Any, !Matched::StaticArrays.StaticArray{var"#s171",T,N} where N where var"#s171"<:Tuple; dims) where T at C:\Users\VM.julia\packages\StaticArrays\l7lu2\src\mapreduce.jl:251 got unsupported keyword argument "i"
sum(::Any, !Matched::AbstractArray; dims) at reducedim.jl:723 got unsupported keyword argument "i"
...
macro expansion at rewrite.jl:227 [inlined]
macro expansion at macros.jl:830 [inlined]
baseball_formulation(::DataFrame, ::Array{Int64,2}, ::Int64, ::Int64, ::Array{Any,1}, ::Array{Any,1}, ::Array{Any,1}, ::Array{Any,1}, ::Array{Any,1}, ::Array{Any,1}, ::Array{Any,1}, ::Array{Int64,2}, ::Array{Int64,2}, ::Array{Int64,2}, ::Array{Int64,2}) at baseball_formulations3.jl:64
create_lineups(::Int64, ::Int64, ::Int64, ::typeof(baseball_formulation), ::String, ::String, ::String) at data_cleaning3.jl:434
top-level scope at optimize_multiple_lineups_baseball3.jl:75
include_string(::Function, ::Module, ::String, ::String) at loading.jl:1088
I would greatly appreciate your help to move forward
Greetings
The text was updated successfully, but these errors were encountered: