Originally posted by: SystemAdmin
hello
i have a problem to make a tuple inside a tuple
here is my code
tuple cham_data {
int num_ch;
date DA;
date DL;
}
cham_data cham[K]=...;
tuple roul_data{
int num_roul;
string cat;
cham_data cham[K] ;
}
roul_data roul[J]=...;
after that i will use "roul[j].cham[k].DL"
in this code i have 2 errors:
-
type date is not exist
-
expecting a tuple component
i use ilog opl 5.5 cplex
could you help me please?
thanks in advance
#DecisionOptimization#OPLusingCPLEXOptimizer