Originally posted by: VerenaL
Hi everyone,
I want to integrate numbers from an excel spreadsheet into CPLEX Optimization Studio V12.6.3.
This is my code:
/* .mod file */
{float} Numbers=...;
/* .dat file */
SheetConnection sheet("D:\\Users\\verena\\opl\\ELG Logistics Optimization\\ReadData.xls");
Numbers from SheetRead(sheet,"B2:F5");
In general it works as I get a string Numbers with the entries of the cells.
The problem is that numbers which appear more than once are only apparing in the float array once.
For example [[1,2],[3,2]] would be the array {1 2 3}.
Do you know how I can get all values?
Thanks in advance,
Verena
#CPLEXOptimizers#DecisionOptimization