ILOG CPLEX / OPL dynamic Excel sheet referencing
问题 I'm trying to dynamically reference Excel sheets or tables within the .dat for a Mixed Integer Problem in Vehicle Routing that I'm trying to solve in CPLEX (OPL). The setup is a: .mod = model, .dat = data and a MS Excel spreadsheet I have a 2 dimensional array with customer demand data = Excel range (for coding convenience I did not format the excel data as a table yet) The decision variable in .mod looks like this: dvar boolean x[vertices][vertices][scenarios] in .dat: vertices from