-
Notifications
You must be signed in to change notification settings - Fork 27
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
ERROR: LoadError: UndefVarError: DataArrays not defined #2
Comments
DataArrays is a package. So to fix the error first you need to run
in Julia, then in the data_cleaning.jl file you need to add the following to the top of the document
That should solve your issue. |
Thank you. That got me further along, but still got an error on the output. The way I finally got it to work was to comment out some of the output variables. See below: path_to_output= #=string(string(formulation), "stacksize", stack_size,"overlap", num_overlap,"lineups", num_lineups,=#"C:/Users/Michael/.julia/mlb/output.csv"; path_to_output_proj = #=string("proj_baseball_", string(formulation), "stacksize", stack_size,"overlap", num_overlap,"lineups", num_lineups,=#"C:/Users/Michael/.julia/mlb/output_proj.csv"; path_to_output_actual = #=string("actual_baseball_", string(formulation), "stacksize", stack_size,"overlap", num_overlap,"lineups", num_lineups,=#"C:/Users/Michael/.julia/mlb/output_actual.csv"; |
@mjk0s1ba I'm not sure on PC how it works but I have my folders saved outside of the julia install and it looks like this in my code: path_pitchers = "/Users/escism/Desktop/DFS/Baseball/2016-08-12 pitchers.csv" |
@jnederlo Thank you for the Using DataArrays, that got me to the next error which says: ERROR: LoadError: Invalid Gurobi license I have looked at the baseball_formulations.jl file and tried to comment out the Using Gurobi code on line 20, but that doesne't seem to make a difference. Any add'l guidance would greatly appreciated! |
@escism you have to comment out line 40, not line 20, but no harm in commenting out line 20 either.
|
@jnederlo Excellent! Thanks for the update now it ran perfectly! |
@escism @jnederlo if you still have this working, could you please comment in #8 with what versions of the packages you are running? The output of |
Can anyone help me with this error code?
The text was updated successfully, but these errors were encountered: