Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  compute time for cplex concert c++

    Posted 09/24/12 06:11 AM

    Originally posted by: geffer


    In my view, CPLEX could solve a variety of problems and would like to do that in a simple and robust way. I have two questions in Total time for cplex solving.

    1.what's the relation between the actual compute time in c++ and the total compute time displayed in cmd?
    2.In order to decrease the compute time, how did I choose the method between big-m and if-then, what's their corresponding circumstances? They are in a great distance when solving particular problem.
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: compute time for cplex concert c++

    Posted 09/25/12 05:40 PM

    Originally posted by: SystemAdmin


    > geffer wrote:

    > 1.what's the relation between the actual compute time in c++ and the total compute time displayed in cmd?

    Sorry, I don't understand this question (specifically the "displayed in cmd"). Are you asking about the difference between the solution time reported by CPLEX's C++ API and "wall clock" time? Or the difference between the C++ API and solving the same problem in the interactive optimizer?

    > 2.In order to decrease the compute time, how did I choose the method between big-m and if-then, what's their corresponding circumstances? They are in a great distance when solving particular problem.

    My understanding (not guaranteed to be accurate) is that CPLEX handles indicator ("if-then") constraints by one of two methods (determined by its internal logic): convert them into branching rules; or convert them into "big-M" constraints. My feeling is that more often it chooses the latter. So the main difference between your implementing a constraint using "big-M" and your implementing it as "if-then" would be whether you can find a valid choice for M that is smaller than what CPLEX would deduce.

    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


  • 3.  Re: compute time for cplex concert c++

    Posted 09/25/12 05:48 PM

    Originally posted by: SystemAdmin


    Turns out this is a duplicate of another tread.
    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: compute time for cplex concert c++

    Posted 09/26/12 02:51 AM

    Originally posted by: geffer


    thx for your reply, sorry because I have double click the post message button and cann't find function delete one of them.

    Are you asking about the difference between the solution time reported by CPLEX's C++ API and "wall clock" time?

    Yes, that's what I want to ask.

    best ALLEN
    #CPLEXOptimizers
    #DecisionOptimization