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).
I'm pretty new to coding and seems like I got the 4 packages installed okay but then I get stuck. I can't figure out how to even copy/paste my errors from Julia. Very frustrating. Anyway I am using the Windows Powershell of Julia because I don't know how to switch to anything else or what to do.
I am stuck here
Downloading the Code
You can download the code and the example csv files by calling
I have no clue what to enter into Julia to make this happen. Anything I try gives back ERROR: syntax: extra token "clone" after end of expression or some such thing. Help!
Also help me get out of this powershell mode if possible
I'm pretty new to coding and seems like I got the 4 packages installed okay but then I get stuck. I can't figure out how to even copy/paste my errors from Julia. Very frustrating. Anyway I am using the Windows Powershell of Julia because I don't know how to switch to anything else or what to do.
I am stuck here
Downloading the Code You can download the code and the example csv files by calling
$ git clone https://github.com/zlisto/dailyfantasybaseball Alternatively, you can download the zip file from above.
I have no clue what to enter into Julia to make this happen. Anything I try gives back ERROR: syntax: extra token "clone" after end of expression or some such thing. Help! Also help me get out of this powershell mode if possible