Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Cannot open include file: 'ilcplex/ilocplex.h'?

    Posted 07/31/08 05:35 PM

    Originally posted by: SystemAdmin


    [T.B. said:]

    1.Cplex was installed in the default directory:
      C:\ILog\Cplex90
      So the files <Cplex90.lib> and <Ilocplex.lib>  are in the below directory:
      C:\ILOG\Cplex90\lib\msvc6\stat_mda
      And the file<concert.lib> is in the below directory:
      C:\ILOG\Concert20\lib\msvc6\stat_mda

    2. I would like to do some job with cplex, so a VC++ 6.0 project named <[i]blend[/i]> was builded in the directory:
      D:\blend
      and in the VC++ IDE, select projcet -> setting->Link->Input, add Cplex90.lib  Ilocplex.lib concert.lib in the Object/module, and add their absolute directory in additional library directories

    3. complie the project, the complier told that:
    fatal error C1083: Cannot open include file: 'ilcplex/ilocplex.h': No such file or directory

    so, what is wrong with the project?
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Cannot open include file: 'ilcplex/ilocplex.h'?

    Posted 07/31/08 11:09 PM

    Originally posted by: SystemAdmin


    [ArushGadkar said:]

    Click on tools - > Options -> Directories

    click on input files and add :

    C:\ILOG\Cplex90\include
    C:\ILOG\Concert20\include

    click on library files and then add
    C:\ILOG\Cplex90\lib\msvc6\stat_mda
    C:\ILOG\Concert20\lib\msvc6\stat_mda

    click okay
    while building select Win32 Release.

    It should work fine then.

    Arush.
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: Cannot open include file: 'ilcplex/ilocplex.h'?

    Posted 12/29/08 04:45 PM

    Originally posted by: SystemAdmin


    [Mic said:]

    I did what you say, but I still have the error:

    fatal error C1083: Cannot open include file: 'ilcplex/ilocplex.h': No such file or directory


    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: Cannot open include file: 'ilcplex/ilocplex.h'?

    Posted 12/31/08 07:35 PM

    Originally posted by: SystemAdmin


    [MaryFenelon said:]

    The steps for setting up your own C++ project in Visual Studio are in the msvc6.html file in the folder where you installed CPLEX. The instructions Arush gave are a start, but there are more steps. In particular, you need to go into the C++ settings menu and set the Preprocessor options to look at the Concert and CPLEX include directories.
    #CPLEXOptimizers
    #DecisionOptimization