Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  cplexXXX.dll problem for CPLEX 12.7.1

    Posted 05/24/19 09:28 AM

    Originally posted by: TOYSED


    I am trying to use Visual Studio Ultimate 2012 with CPLEX 12.7.1.Previously I was using CPLEX 12.6.2.

    I followed these steps to link cplex to visual studio;

     

    c-> General> Additional Include Directory

    c:\Program Files\IBM\ILOG\CPLEX_Studio1271\concert\include;C:\Program Files\IBM\ILOG\CPLEX_Studio1271\cplex\include

     

    c> Preprocessor

    WIN32;_DEBUG;_CONSOLE;IL_STD;_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)

     

    c>Linker> Additional Library

    C:\Program Files\IBM\ILOG\CPLEX_Studio1271\concert\lib\x64_windows_vs2015\stat_mda;

    C:\Program Files\IBM\ILOG\CPLEX_Studio1271\cplex\lib\x64_windows_vs2015\stat_mda

     

    C>Linker>Input>Additional Dependencies>

    C:\Program Files\IBM\ILOG\CPLEX_Studio1271\concert\lib\x64_windows_vs2015\stat_mdd\concert.lib;

    C:\Program Files\IBM\ILOG\CPLEX_Studio1271\cplex\lib\x64_windows_vs2015\stat_mdd\ilocplex.lib;

    C:\Program Files\IBM\ILOG\CPLEX_Studio1271\cplex\lib\x64_windows_vs2015\stat_mdd\cplex1271.lib;%(AdditionalDependencies)

     

    When I run my code it tells me cplex1262 was not found. But I always give the path for cplex1271.

     

    I also did what it is told in the following step but still I could not run my code.

    https://www.ibm.com/support/knowledgecenter/SSSA5P_12.6.3/ilog.odms.cplex.help/CPLEX/GettingStarted/topics/set_up/Windows.html#descriptiveTopic1219759320394__Getting_started.uss_installation.157316

     

    Is it a compatibility problem or do I do something wrong?

     

     

     


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: cplexXXX.dll problem for CPLEX 12.7.1

    Posted 05/27/19 01:21 PM

    Originally posted by: TOYSED


    Hello,

     

    I also downloaded Visual Studio 2015 to see if this is a compatibility problem but nothing changed. 

    I still get the following error;

    The code execution cannot proceed because cplex1262.dll was not found.

    I tried to repair Visual Studio 2015.Still no change...Please help


    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: cplexXXX.dll problem for CPLEX 12.7.1

    Posted 05/27/19 03:29 PM

    Well, for whatever reason your project is still being linked with the cplex1262.dll. You have to double-check your configuration. Maybe also try to clean your project (remove and binary and object files). Somewhere there is still a reference to 12.6.2 or there is a missing dependency.

    Also check the linker output. Is the correct library linked there? Maybe also try dependecy walker to check what libraries you binary depends on.


    #CPLEXOptimizers
    #DecisionOptimization