Originally posted by: SystemAdmin
Hi
I am new to Cplex!
I know that for defining 2-dim arrays the following code is applicable
but for 3 or 4 dim-arrays, it does not work.
//m: number of rows,
//n: number of columns.
IloNumArray a(env, m);
For (i=0; i<m; i++)
{
a[i]= IloNumArray (env, n);
}
Does anyone know How I can define a multi-dimensional (more than 3) array in Cplex through C++?
Thanks in advance,
Mahdi
#DecisionOptimization#OPLusingCPLEXOptimizer