Originally posted by: SystemAdmin
It seems like you are using an old license file that limits the problem size to 500 variables/constraint.
Are you sure that your ILOG_LICENSE_FILE environment variable points to the license file you downloaded for the AI edition? Or may it point to an old license file?
Can you print out the value of this variable right before you instantiate CPLEX? I.e., do something like this
/* In C */
printf("ILOG_LICENSE_FILE='%s'\n", getenv("ILOG_LICENSE_FILE"));
status = CPXopenCPLEX(...);
...
// In C++
std::cout << "ILOG_LICENSE_FILE='" << getenv("ILOG_LICENSE_FILE") << "'" << std::endl;
IloCplex cplex = new IloCplex();
...
// In Java
System.out.println("ILOG_LICENSE_FILE='" + System.getenv("ILOG_LICENSE_FILE") + "'");
IloCplex cplex = new IloCplex();
...
and check if the result is the license file you have for the AI version?
#CPLEXOptimizers#DecisionOptimization