Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.

 View Only
  • 1.  Integrating Cplex with Visual Studio

    Posted Wed March 27, 2013 09:24 AM

    Originally posted by: SystemAdmin


    Hi,
    I am using Cplex 123 64-bit and Visual Studio 2010 32-bit. My machine is operating under Windows 7 64-bit.
    I have a problem calling the cplex functions in my C++ code. It seems that the cplex library cannot be linked properly.
    Now, I am wondering if it is due to my compiler being for 32-bit where my libraries are 64-bit?
    If so, can I use cplex 32-bit on a 64-bit machine? Because it seems that visual studio 2010 does not have a 64-bit
    version.

    Any advice is highly appreciated.
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Integrating Cplex with Visual Studio

    Posted Wed March 27, 2013 09:56 AM

    Originally posted by: T_O


    Visual Studio 2010 can create 64-bit executables, so I recommend using 64-bit libraries.

    Nevertheless, also 32-bit CPLEX should run on 64-bit Windows, but I would not recommend that.

    Best regards,
    Thomas
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: Integrating Cplex with Visual Studio

    Posted Wed March 27, 2013 11:55 PM

    Originally posted by: SystemAdmin


    Hi~
    I had similar problem with you and I am using 32-bit CPLEX 12.4 on 64-bit windows 7 with VC++ 2010 express now.

    Best regards,
    Tracy
    #CPLEXOptimizers
    #DecisionOptimization