I am new to Gurobi and I am trying to understand which data structure to use for coefficients. I want to model a large sparse coefficient matrix A as seen below. I am wondering if it should be done using a tuplelist, a tupledict or some other structure? In the statement below, A is the coefficient matrix and z is a decision variable.
Please sign in to leave a comment.