Very new to Julia and trying to work through some code. I keep getting this error: "ERROR: LoadError: LoadError: UndefVarError: @defVar not defined". The start of the code is below where I define the @defVar. Julia Version 1.1.1 (2019-05-16). Here is the code I am using:
using DataFrames
using GLPKMathProgInterface
using JuMP
num_lineups = 6
num_overlap = 4
path_data = "/users/matt/desktop/example_players.csv"
path_data2 = "/users/matt/desktop/example_players2.csv"
path_to_output= "/users/matt/desktop/output.csv"
m = Model(solver=GLPKSolverMIP())
@defVar(m, players_a_lineup[i=1:num_players_a], Bin)
@defVar(m, players_b_lineup[i=1:num_players_b], Bin)