Skip to content

Commit

Permalink
potential fix for rate limit caused by using nrel example api key
Browse files Browse the repository at this point in the history
  • Loading branch information
ASC95 committed Dec 12, 2023
1 parent c7c33e8 commit 86508b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions omf/solvers/reopt_jl/REoptSolver/src/REoptSolver.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export run
using REopt, JuMP, JSON, HiGHS #SCIP #, Cbc
#Ipopt, ECOS, Clp, GLPK

ENV["NREL_DEVELOPER_API_KEY"]="WhEzm6QQQrks1hcsdN0Vrd56ZJmUyXJxTJFg6pn9"

function get_model(path::String, max_runtime_s::Union{Nothing,Int})
m = Model(HiGHS.Optimizer)
Expand Down

0 comments on commit 86508b7

Please sign in to comment.