Originally posted by: SystemAdmin
[TheEngineer said:]
That code is pretty much unreadable for other people and I guess it will not be working.
For my 3d arrays I use the following snippet:
typedef IloArray<IloNumVarArray> NumVarMatrix;
typedef IloArray<NumVarMatrix> NumVarMatrix3d;
To extend it to 4 dimensions you could use (I did not test it yet):
typedef IloArray<NumVarMaxtrix3d> NumVarMatrix4d;
#CPLEXOptimizers#DecisionOptimization