Skip to content
New issue

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

Spine Opt isnt executing properly. #2

Open
DrKhurram opened this issue Jul 24, 2023 · 0 comments
Open

Spine Opt isnt executing properly. #2

DrKhurram opened this issue Jul 24, 2023 · 0 comments

Comments

@DrKhurram
Copy link

Spine Opt isnt executing properly.

see error log ;
ERROR: LoadError: can't run a model of type spineopt_benders_master without another of type spineopt_standard
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:35
[2] rerun_spineopt!(::Nothing, mp::Nothing, ::Nothing, url_out::String; kwargs::Base.Pairs{Symbol, Any, NTuple{10, Symbol}, NamedTuple{(:add_user_variables, :add_constraints, :update_constraints, :log_level, :optimize, :update_names, :alternative, :write_as_roll, :resume_file_path, :alternative_objective), Tuple{SpineOpt.var"#8#20", SpineOpt.var"#9#21", SpineOpt.var"#10#22", Int64, Bool, Bool, String, Int64, Nothing, SpineOpt.var"#48#56"}}})
@ SpineOpt C:\Users\khurr.julia\packages\SpineOpt\podJV\src\run_spineopt.jl:339
[3] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::Base.Pairs{Symbol, Any, NTuple{10, Symbol}, NamedTuple{(:add_user_variables, :add_constraints, :update_constraints, :log_level, :optimize, :update_names, :alternative, :write_as_roll, :resume_file_path, :alternative_objective), Tuple{SpineOpt.var"#8#20", SpineOpt.var"#9#21", SpineOpt.var"#10#22", Int64, Bool, Bool, String, Int64, Nothing, SpineOpt.var"#48#56"}}})
@ Base .\essentials.jl:731
[4] rerun_spineopt(url_out::String; mip_solver::Nothing, lp_solver::Nothing, add_user_variables::Function, add_constraints::Function, update_constraints::Function, log_level::Int64, optimize::Bool, update_names::Bool, alternative::String, write_as_roll::Int64, resume_file_path::Nothing, use_direct_model::Bool, alternative_objective::SpineOpt.var"#48#56")
@ SpineOpt C:\Users\khurr.julia\packages\SpineOpt\podJV\src\run_spineopt.jl:319
[5] do_run_spineopt(url_in::String, url_out::String; upgrade::Bool, mip_solver::Nothing, lp_solver::Nothing, add_user_variables::Function, add_constraints::Function, update_constraints::Function, log_level::Int64, optimize::Bool, update_names::Bool, alternative::String, write_as_roll::Int64, use_direct_model::Bool, filters::Dict{String, String}, resume_file_path::Nothing)
@ SpineOpt C:\Users\khurr.julia\packages\SpineOpt\podJV\src\run_spineopt.jl:234
[6] #run_spineopt#1
@ C:\Users\khurr.julia\packages\SpineOpt\podJV\src\run_spineopt.jl:142 [inlined]
[7] run_spineopt(url_in::String, url_out::String)
@ SpineOpt C:\Users\khurr.julia\packages\SpineOpt\podJV\src\run_spineopt.jl:122
[8] top-level scope
@ C:\UCD Senior PS Researcher\SPINE\previous models\spine-cs-a5-main\spine-cs-a5-main\run_spineopt.jl:3
[9] include(fname::String)
@ Base.MainInclude .\client.jl:476
[10] top-level scope
@ none:1
in expression starting at C:\UCD Senior PS Researcher\SPINE\previous models\spine-cs-a5-main\spine-cs-a5-main\run_spineopt.jl:3
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant