Decision Optimization

Decision Optimization

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

 View Only
  • 1.  Cplex free version and Visual Studio

    Posted Wed May 01, 2019 08:35 AM

    Originally posted by: KDenco


    Hello, I have some difficulty associating visual studio with my free student version of cplex.

    After taking either to make changes to the properties of my project like this:

     

    "Additional include directories: C:\Program Files \IBM\ILOG\CPLEX_Studio_Community128\cplex\include

    C:\Program Files \IBM\ILOG\CPLEX_Studio_Community128\concert\include

    Preprocessor:

    WIN32

    CONSOLE

    IL_STD

    _CRT_SECURE_NO_WARNINGS

    Linker input:

    C:\Program Files \IBM\ILOG\CPLEX_Studio_Community128\cplex\lib\x64_windows_vs2015\stat_mda\cplex1280.lib

    C:\Program Files\IBM\ILOG\CPLEX_Studio_Community128\cplex\lib\x64_windows_vs2015\stat_mda\ilocplex.lib

    C:\Program Files\IBM\ILOG\CPLEX_Studio_Community128\concert\lib\x64_windows_vs2015\stat_mda\concert.lib

    For 64 bit windows: generation code: Multi-threaded DLL (/MD)"

    The program already presents the following problem to me: " Error LNK1104 cannot open file cplex1280.lib' "

     

    I've been trying to solve this problem in vain for more than four hours.

    Is it because my version of cplex is free? Or what would be the solution?

     

    Thank you for your help.​


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Cplex free version and Visual Studio

    Posted Wed May 01, 2019 11:17 AM

    Please take a look at the "Building your own project which links with CPLEX" section in the c_cpp.html file that is installed with CPLEX. If you follow those directions exactly, you should be able to get things working hopefully.

     

    One thing that sticks out, though, is the fact that the folder you're referencing is named C:\Program Files \IBM\ILOG\CPLEX_Studio_Community128. This indicates that you are using the "Community Edition" not the unrestricted student version available through the Academic Initiative here.


    #CPLEXOptimizers
    #DecisionOptimization