Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  How set up CPLEX 12.5 in a C++ project with Eclipse Juno CDT

    Posted 03/17/13 12:38 PM

    Originally posted by: SystemAdmin


    Hi everybody,

    I want to use the CPLEX 12.5 in a C++ project with Eclipse Juno CDT in Windows 7 with and MingGW as compiler.

    How to Set Up? Is there a tutorial for that? Because I does not found.

    I appreciate any help.

    Thanks.

    Regis Gomes
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: How set up CPLEX 12.5 in a C++ project with Eclipse Juno CDT

    Posted 03/18/13 03:21 AM

    Originally posted by: SystemAdmin


    MinGW is not officially supported for CPLEX, so you are on your own here.
    However, if I remember correctly then some people got that working (search this Forum).
    In the CPLEX distribution there is a file called c_cpp.html. This file describes how to setup Visual Studio for CPLEX. It lists the include/library paths, preprocessor defines, libraries, etc. you should use for compiling/linking an application that uses CPLEX. It should be easy to enter the same configuration into eclipse.
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: How set up CPLEX 12.5 in a C++ project with Eclipse Juno CDT

    Posted 03/18/13 05:12 AM

    Originally posted by: T_O


    It is quite easy to use the C callable library in C++ with MinGW and Eclipse. You only have to take care about 32 bit / 64 bit (both work, but you need the correct versions of MinGW/Cplex). Do not hesitate to ask further questions, if you get into trouble.

    Concerning Concert (C++ API), I just can say one thing: forget it. The mangling schemes differ. As long as IBM does not provide a version of Concert that is compiled with MinGW, you won't be able to use it. But nevermind: Compared to the C API, concert is terribly slow, at least for some operations.

    Best regards,
    Thomas
    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: How set up CPLEX 12.5 in a C++ project with Eclipse Juno CDT

    Posted 03/18/13 06:36 AM

    Originally posted by: SystemAdmin


    Thanks Thomas,

    I did use GLPK library, but necessite now to use a more powerful tool as CPLEX. I will study also that possibility.

    Best regards,

    Regis Gomes.
    #CPLEXOptimizers
    #DecisionOptimization


  • 5.  Re: How set up CPLEX 12.5 in a C++ project with Eclipse Juno CDT

    Posted 03/18/13 09:03 AM

    Originally posted by: T_O


    You can also use GLPK to export an LP-file and use the interactive optimizer to solve the file.

    Best regards,
    Thomas
    #CPLEXOptimizers
    #DecisionOptimization


  • 6.  Re: How set up CPLEX 12.5 in a C++ project with Eclipse Juno CDT

    Posted 03/18/13 09:14 AM

    Originally posted by: SystemAdmin


    Thanks Thomas,

    I will do so.

    Best regards,

    Regis Gomes.
    #CPLEXOptimizers
    #DecisionOptimization


  • 7.  Re: How set up CPLEX 12.5 in a C++ project with Eclipse Juno CDT

    Posted 03/18/13 06:13 AM

    Originally posted by: SystemAdmin


    Thanks DanielJunglas,

    I go to study possibility to use Visual Studio.

    Regards

    Regis Gomes.
    #CPLEXOptimizers
    #DecisionOptimization