Decision Optimization

Decision Optimization

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

 View Only
  • 1.  Cplex with Netbeans + Cpp

    Posted Mon January 06, 2014 05:29 PM

    Originally posted by: hygo2025


    Hello Good evening, I'm trying to configure my netbeans in linux to use CPLEX with c + + but I can not somehow have any specific way of configuring the linker or something in the project


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Cplex with Netbeans + Cpp

    Posted Fri January 10, 2014 01:22 AM

    If you don't know how to specify linker flags in netbeans then you should probably post this question on a netbeans forum.

    If you just don't know what linker flags to use then look at the example makefiles that come with CPLEX. They can be found in directories

    cplex/examples/x86-64_linux/static_pic/Makefile (CPLEX 12.6)
    cplex/examples/x86-64_sles10_4.1/static_pic/Makefile (earlier versions)

    You can also cd to one of those directories and run 'make blend'. This builds the blend executable from the blend.cpp source files. While doing this it displays the compilation and linking commands used. From there you can pick up any required flags.


    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: Cplex with Netbeans + Cpp

    Posted Fri January 10, 2014 09:47 AM

    Originally posted by: hygo2025


    Recommend me some IDE to work with c + +?


    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: Cplex with Netbeans + Cpp

    Posted Sun January 12, 2014 03:55 PM

     

     

    Netbeans and Eclipse are two popular choices.


    #CPLEXOptimizers
    #DecisionOptimization