Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Shall I learn C++ or Java?

    Posted 02/07/11 08:18 PM

    Originally posted by: y82li


    I am going to use Cplex LP solver to solve MIP by developing branch and cut (problem specific cuts). I am new to C++ and Java. Which one is easier to learn and use? Can you give me recommendation?

    Thanks

    David
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Shall I learn C++ or Java?

    Posted 02/08/11 12:59 AM

    Originally posted by: SystemAdmin


    I think most consider Java to be easier. You can have a look at what they say on Wikipedia. Link: http://en.wikipedia.org/wiki/Comparison_of_Java_and_C%2B%2B
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: Shall I learn C++ or Java?

    Posted 02/08/11 06:33 PM

    Originally posted by: SystemAdmin


    As John, said, Java is easier to learn than C++. Java is also, in my opinion, easier to compile, meaning that the tool set used to compile Java programs is more transparent and less prone to WTF??? types of problems.

    C++ code continues to run faster than Java code, although the gap has narrowed from what it used to be. The heavy lifting will be done by the CPLEX library, though, and in my experience the amount of time one of my programs spends in my Java code is unimportant compared to the time spent in the solver. In certain applications, though, it might be the case that the main program would eat up lots of CPU cycles, in which case Java v. C++ might make a difference. That said, I would strongly suggest you start with Java.

    Paul

    Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different. (Goethe)
    #CPLEXOptimizers
    #DecisionOptimization