Originally posted by: SystemAdmin
Is the file A.lp in the same folder from which you
run the program (which is not necessarily the colder that contains test.exe)?
Could you tell us
-
which folder contains the file A.lp?
-
which folder contains test.exe?
-
from which folder do you start test.exe?
If you do
FILE *tmp = fopen(argv[1], "r");
if ( tmp ) {
printf ("Could open file '%s'\n", argv[1]);
fclose (tmp);
}
else {
printf ("Could not open file '%s'\n", argv[1]);
}
right before the call to CPXreadcopyprob(), what does this print?
#CPLEXOptimizers#DecisionOptimization