zlisto / Daily-Fantasy-Baseball-Contests-in-DraftKings

This is the code for constructing a portfolio of lineups for DraftKings baseball contests with a top heavy payoff structure. This code is based on the paper Picking Winners Using Integer Programming by David Hunter, Juan Pablo Vielma, and Tauhid Zaman (https://arxiv.org/abs/1604.01455).
37 stars 27 forks source link

Versions of software / software packages #8

Open henryzlo opened 5 years ago

henryzlo commented 5 years ago

I'm trying to run this code, but I cannot as it seems to be using an older version of Julia / associated packages. Can you share the versions of Julia / each package used?

Thanks!

ty-fleming commented 5 years ago

I figured out that I needed to run Julia 0.6.4 Link can be found here Julia Old Download for 6.4 . This is a great program, just need to figure out a way for it to run quicker. when working with bigger slates it takes a very long time. 2+ hours.

zap7 commented 5 years ago

I tried running using Julia 0.6.4 but get the same error as I get with Julia version 1.1.1. I get the following error: ERROR: LoadError: LoadError: UndefVarError: @defVar not defined Stacktrace: [1] top-level scope [2] include at ./boot.jl:326 [inlined] [3] include_relative(::Module, ::String) at ./loading.jl:1038 [4] include(::Module, ::String) at ./sysimg.jl:29 [5] include(::String) at ./client.jl:403 [6] top-level scope at none:0 in expression starting at /Users/jsmith/Downloads/Daily-Fantasy-Baseball-Contests-in-DraftKings-master/baseball_formulations.jl:59 in expression starting at /Users/jsmith/Downloads/Daily-Fantasy-Baseball-Contests-in-DraftKings-master/baseball_formulations.jl:31