Decision Optimization

Decision Optimization

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

 View Only
Expand all | Collapse all

ILOG Concert 24 and Microsoft Visual C++ compiler

  • 1.  ILOG Concert 24 and Microsoft Visual C++ compiler

    Posted Sun October 12, 2008 10:48 PM

    Originally posted by: SystemAdmin


    [ncasti said:]

    Hello,
    I'm working with ILOG Concert 24, and the Microsoft Visual Studio 2005 C++ compiler, which is: 14.00.50727.42
    I have this problem when I try to compile my file:
    "Concert24\include\ilconcert\ilosys.h(391) : fatal error C1083 : imposible to include: 'iostream.h'.
    No such file or directory.

    I look at Microsoft Visual Studio 8\VC\include folder and I can't find iostream.h
    If I change the ilosys.h file, replacing iostream.h by iostream I have the same problem with other *.h files.

    So, please, does anybody know how to help me?
    Is not my C++ compiler suitable to work with ILOG Concert 24?

    Thank you very much.

    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: ILOG Concert 24 and Microsoft Visual C++ compiler

    Posted Mon October 13, 2008 12:51 AM

    Originally posted by: SystemAdmin


    [alain.chabrier said:]

    Hi,

    probably due to being an STL port,
    trying defining -DIL_STD, you may look at example makefiles or projects.

    Hope this helps,

    Alain
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: ILOG Concert 24 and Microsoft Visual C++ compiler

    Posted Tue October 14, 2008 02:09 PM

    Originally posted by: SystemAdmin


    [ncasti said:]

    Dear Mr.Chabrier,
    thank you very much for your attention.

    It doesn't work yet, but now it's due to a problem at the Prolog compilation, not to an ILOG problem.
    So, thank you very much for your help.

    I'm trying to make an interface between Prolog and C++: interface.pl and interface.cpp
    There is one Prolog command for doing this: 'splfr'. But when I use ILOG Concert24 in interface.cpp the command doesn't work.

    So, I've investigated whick commands of 'cl.exe' do the 'splfr' in fact do, and I'm trying to reproduce them.

    It's succeed in the stage interface.cpp --> interface.obj but it fails at the link stage.

    So, (at that is why I've wrotten all these history) I've seen how to create CPLEX proyects from Microsoft Visual Studio 2005, and there is one library: [b]wsock32.lib[/b] which is needed to be included.

    Do you have any idea of where do I need to include it?

    Thanks you again.

    Best Regards,
    Nacho Castiñeiras. Complutense University of Madrid
    #CPLEXOptimizers
    #DecisionOptimization