Originally posted by: SystemAdmin
No output at all? That would mean that the solve does not even start.
Could you sprinkle your Java code with System.out.println() to see the progress in building the model? Could you tell if you even reach the call to IloCplex.solve()?
Maybe wrap your whole code into something like this
public static void main(String[] args) {
try {
// your code here
...
} catch (OutOfMemoryException e) {
System.err.println("Out of memory!");
e.printStackTrace();
System.exit(-1);
} catch (OutOfMemoryError e) {
System.err.println("Out of memory!");
e.printStackTrace();
System.exit(-1);
}
}
What does the stack trace tell you? What is the function that goes out of memory? Does the stack trace point into CPLEX code?
#CPLEXOptimizers#DecisionOptimization