Originally posted by: JodokusQuak
Hello guys,
My used versions are:
-
Visual Studio for Mac Community 7.0.1 (build 24)
-
cplex_studio1263.osx
Actually I am not that sure what the problem is. When I am running my program it ends and the value of the objective function is 0 (that's not right).
I think the problem is the data file. The program finds the data file, because there is no "file not found" message. But beside that the value is 0 the output txt.file doesn't appear.
ifstream myfile("/Users/Jodokus/OneDrive/Dokumente/Uni/test_v2.txt");
if (!myfile) {
cout << "file not found" << endl;
system("break");
return 1;
}
(...)
if (solved){
fstream f1("output.txt", ios::out);
(...)
Does anybody know what the problem could be or do you need any more specific details?
Regards
#CPLEXOptimizers#DecisionOptimization