Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Cloning a node

    Posted 07/27/11 12:09 AM

    Originally posted by: SystemAdmin


    I want to solve a MIP with CPLEX 12.2 up to some specified time limit then collect the information about the best LB. I know that the only way to do so is to clone the model, change its type and resolve the LP relaxation.
    I tried this with clonelp but it seems that it's the original model that is cloned and not the node with the best LB. Is there any way I can clone the entire node (i.e. with all the modifications that have already been done so far) with the callable library?
    Thank you for any advice.

    Amar
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Cloning a node

    Posted 07/27/11 03:39 AM

    Originally posted by: SystemAdmin


    What LP did you clone?
    If you want to clone the LP of a B&B node then you need to use a callback, obtain the nodelp via CPXgetcallbacknodelp() and clone this model. Also look at the other CPXgetcallback...() functions to learn what other information about the current node you can retrieve and may need.
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: Cloning a node

    Posted 07/27/11 03:53 AM

    Originally posted by: SystemAdmin


    Thank you for the answer. Yes, it's the LP of the B&B. Since the LP corresponds to the last node explored in the solution process, I thought that there might me some other way than the callback function.
    #CPLEXOptimizers
    #DecisionOptimization