Originally posted by: SystemAdmin
I try to define a structure like this :
struct CPLEX
{
IloEnv env;
IloModel model(env);
IloCplex cplex(env);
IloIntArray2Dimensions y(env);
IloNumArray3Dimensions x(end);
};
It shows some errors when I compile:
error C2061: syntax error : identifier 'env'
How I can overcome it; there is methods which add "env" to model, cplex, y, x ... lately.
Thanks for your suggestion.
Lessi.
#CPLEXOptimizers#DecisionOptimization