Decision Optimization

Decision Optimization

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

 View Only
  • 1.  Linking C++ with cplex in visual studio 2010

    Posted Mon March 21, 2011 08:02 PM

    Originally posted by: SystemAdmin


    Hi
    Actually I am a new user to cplex and I want to know how I can link c++ with cplex in Oder to use concert technology in visual studio 2010. Thank you for your help in advance.
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Linking C++ with cplex in visual studio 2010

    Posted Tue March 22, 2011 01:27 PM

    Originally posted by: GuangFeng


    Start with the ilo*.vcxproj examples in <COS_installation_dir>\cplex\examples\x86_windows_vs2010. You can reuse the project files for your own project.
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: Linking C++ with cplex in visual studio 2010

    Posted Tue March 22, 2011 02:09 PM

    Originally posted by: SystemAdmin


    The problem is linking +> "fatal error C1083: Cannot open include file: 'ilcplex/ilocplex.h': No such file or directory". I do not know how to link cplex with visual c++?
    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: Linking C++ with cplex in visual studio 2010

    Posted Thu March 24, 2011 02:03 PM

    Originally posted by: GuangFeng


    Are you having this issue with the examples or with a new project you created yourself?
    #CPLEXOptimizers
    #DecisionOptimization


  • 5.  Re: Linking C++ with cplex in visual studio 2010

    Posted Thu March 24, 2011 05:15 PM

    Originally posted by: SystemAdmin


    with both cases I have this problem
    #CPLEXOptimizers
    #DecisionOptimization


  • 6.  Re: Linking C++ with cplex in visual studio 2010

    Posted Sun March 27, 2011 10:57 PM

    Originally posted by: pengguo318


    I make a tutorial with some pictures of operational processes!
    the file download website:
    http://u.115.com/file/f4b32897ed
    #CPLEXOptimizers
    #DecisionOptimization


  • 7.  Re: Linking C++ with cplex in visual studio 2010

    Posted Sat April 23, 2011 04:40 PM

    Originally posted by: SystemAdmin


    Thank you, now I can run the program in VS2008 but I can not debug it, how about the setting for debug?
    #CPLEXOptimizers
    #DecisionOptimization