Originally posted by: prasenjit mandal
Hi Mikhail,
Can you please inform me how would you able to extract and save CPLEX-generated cuts.
I am using C++ to writing codes and using Visual Studio platform.
I tried to follow the the following link : http://www-01.ibm.com/support/docview.wss?uid=swg21400065
But, this script need to be run from command prompt.
But when I tried to run any Cplex-C concert program from command prompt, it showing me the error: "C1083: Cannot open include file 'ilcplex/cplex.h: so such fine and directory'".
I used the the command "cl main.c". Further, I also tried to execute the command: "command "cl main.c cplex1251.lib"".
However, I checked the 'PATH' environmental variable setting. The path "C:\Program Files\IBM\ILOG\CPLEX_Studio1251\cplex\bin\x86_win32;" is already included to the PATH' environmental variable setting. Also, I tried copy the cplex1251.dll to my current directory. But, the program is showing the same error.
But, when I tried to execute a CPLEX-C++ program from command prompt using command: "cl /EHsc main.cpp", it is working fine.
Therefore, I am getting stuck. Can you please help me. How did you do it, can you please tell it to me elaborately. I am new to coding, so I shall be highly obliged.
#CPLEXOptimizers#DecisionOptimization