Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  CPLEX 11 and Visual Studio 2008

    Posted 05/08/08 06:25 PM

    Originally posted by: SystemAdmin


    [enderspaul said:]

    I run 64 bit Vista, Visual Studio 2008 and CPLEX 11.0 (which are listed as compatible at the ILOG website).

    The CPLEX 11.0 distribution does not include a manual how to set up with VS2008. I tried using the manual for VS2005. I made two changes to the manual (after consulting "the web"):
    1. Added <CPLEXDIR>\lib\x64_.net2005_8.0\stat_mta\cplex110.lib to Additional Dependencies instead of the x86 version
    2. Replaced IL_STD by IL_MTD

    I created a test project containing lpex7.c as source code. When I try to build I get the following

    1>------ Build started: Project: LP7_test, Configuration: Release Win32 ------
    1>Linking...
    1>lpex7.obj : error LNK2001: unresolved external symbol _CPXopenCPLEX@4
    1>lpex7.obj : error LNK2001: unresolved external symbol _CPXlpopt@8
    1>lpex7.obj : error LNK2001: unresolved external symbol _CPXcloseCPLEX@4
    1>lpex7.obj : error LNK2001: unresolved external symbol _CPXgetx@20
    1>lpex7.obj : error LNK2001: unresolved external symbol _CPXreadcopyprob@16
    1>lpex7.obj : error LNK2001: unresolved external symbol _CPXgetdblquality@16
    1>lpex7.obj : error LNK2001: unresolved external symbol _CPXsetintparam@12
    1>lpex7.obj : error LNK2001: unresolved external symbol _CPXfreeprob@8
    1>lpex7.obj : error LNK2001: unresolved external symbol _CPXgetcolname@32
    1>lpex7.obj : error LNK2001: unresolved external symbol _CPXgetobjval@12
    1>lpex7.obj : error LNK2001: unresolved external symbol _CPXgetnumrows@8
    1>lpex7.obj : error LNK2001: unresolved external symbol _CPXgetstat@8
    1>lpex7.obj : error LNK2001: unresolved external symbol _CPXgeterrorstring@12
    1>lpex7.obj : error LNK2001: unresolved external symbol _CPXcreateprob@12
    1>lpex7.obj : error LNK2001: unresolved external symbol _CPXsolninfo@24
    1>lpex7.obj : error LNK2001: unresolved external symbol _CPXgetnumcols@8
    1>lpex7.obj : error LNK2001: unresolved external symbol _CPXgetbase@16
    1>C:\Code\test\test\LP7_test\Release\LP7_test.exe : fatal error LNK1120: 17 unresolved externals
    1>Build log was saved at "file://c:\Code\test\test\LP7_test\LP7_test\Release\BuildLog.htm"
    1>LP7_test - 18 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    Two questions:
    1. Is there a manual for VS2008 which I did just not find yet?
    2. If not, what else should be changed to be able to link from a VS2008 project to CPLEX 11.0?

    Thanks,

    Paul
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: CPLEX 11 and Visual Studio 2008

    Posted 05/22/08 09:17 PM

    Originally posted by: SystemAdmin


    [MaryFenelon said:]

    CPLEX 11.0.1 supports Visual Studio 2008.  You can download it from support.ilog.com.

    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: CPLEX 11 and Visual Studio 2008

    Posted 03/11/09 06:57 AM

    Originally posted by: SystemAdmin


    [sindhu said:]

    Do any one  have the answer for the  question. Please do help.

    Vista 64 bit, Visual Studio 2005, CPLEX 11.2 64 bit. having the same errors which he copies.

    C_CPP talks about installing the stuff for 32 bit VS 2005. I am not sure how to get the X64_ license and make the VS 2005 to work. I changed the changes which he posted but no use.

    Simple question.
    1. How can make Visual Studio 2005 to 64 bit compatible. I was looking for a  a win(64) as the active platform tab in the IDE. Don't know how to do the IDe settings for 64 bit  CPLEX .

    ILOG is making life difficult  by not providing the exact .html files.
    Any help please..............
    #CPLEXOptimizers
    #DecisionOptimization