Originally posted by: SystemAdmin
Hi all,
I have installed CPLEX 12.4 (64 bits) on my computer running Windows 7 (64 bits). But I am unable to link CPLEX with Visual Studio 2008. I have followed the instructions given in the c_cpp.html file inside the "cplex" folder. Instead of using the instruction:
Select Linker in the Configuration Properties tree.
Select General and then select Additional Library Directoriess. Add the files:
<CPLEXDIR>\lib\x86_windows_vs2008\stat_mta
<CONCERTDIR>\lib\x86_windows_vs2008\stat_mta
I have used:
Select Linker in the Configuration Properties tree.
Select General and then select Additional Library Directoriess. Add the files:
<CPLEXDIR>\lib\x64_windows_vs2008\stat_mta
<CONCERTDIR>\lib\x64_windows_vs2008\stat_mta
Rest of the instruction I have followed exactly.
When I build the project, I get the errors like "LNK2001: unresolved external symbol_imp_CPXopenCPLEX@4 "
Actually, I want to use 64 bit CPLEX because I am solving very large linear and integer programs (with approx 300,000 binary variables and 5000 constraints). If I use the original setting, the project build is successful but I am unable to solve the linear and integer programs. There is CPLEX out of memory error.
Please help me. I will be grateful.
Thanks
Faiz
#CPLEXOptimizers#DecisionOptimization