Decision Optimization

Decision Optimization

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

 View Only
Expand all | Collapse all

CPLEX 11 and the Microsoft Visual Studio 2005 C++ (error: iostream.h)

  • 1.  CPLEX 11 and the Microsoft Visual Studio 2005 C++ (error: iostream.h)

    Posted Fri March 06, 2009 09:41 PM

    Originally posted by: SystemAdmin


    [sa_student said:]

    Hello,
    I'm working with CPLEX 11 and the Microsoft Visual Studio 2005 C++. When I build my example, I get: 

    ..:\cplex11\concert25\include\ilconcert\ilosys.h(393) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directorY

    If I change the ilosys.h file, replacing iostream.h by iostream I have the same problem with other *.h files.

    Does anyone have any suggestions?

    Thank you very much.
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: CPLEX 11 and the Microsoft Visual Studio 2005 C++ (error: iostream.h)

    Posted Sun March 08, 2009 07:14 AM

    Originally posted by: SystemAdmin


    [MaryFenelon said:]

    Can you compile and run the C++ examples that come along with CPLEX using the provided project files?  Getting the CPLEX provided examples to run should always be the first step to check that your installation is correct.  If these run, you can compare what you have in your project file with the contents of the CPLEX project files.

    You can also follow the instructions on building your own project contained in the file c_cpp.html provided with the CPLEX distribution.  Several non-default settings  are required, but all are listed in that file.

    Finally, I believe there was a posting one a month or two ago where someone had a similar problem.  You could look there to see how it was resolved.
    #CPLEXOptimizers
    #DecisionOptimization