I am new to PuLP, and I am trying to run an optimization problem where one of my decision variables is 2D. I'm a little confused as to how one can declare 2D decision variables as part of plp.LpVariable? As of now, this is how I am declaring the variable
a = { k : plp.LpVariable(name='a', lowBound=np.array([0, 0]), \
upBound=np.array([2, 3]), \
cat=plp.LpContinuous) for k in range(10)}
Thanks!