Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Print LP Solved at each Branch and Bound node

    Posted 12/17/18 09:10 AM

    Originally posted by: Arun2325


    I am working on a project where I continuosly keep adding new constraints using LazyConstraintCallback in Python CPLEX API. I need to check what constraints are present at each branch and bound node. Is there any way to print (similar to writeLP function) LP Solved at each node?


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Print LP Solved at each Branch and Bound node

    Posted 12/17/18 06:30 PM

    Originally posted by: EdKlotz


    The C API has a getcallbacknodelp function that can be used to do this.   In fact, an example program that does this is available at https://www-01.ibm.com/support/docview.wss?uid=swg21400065.   However, due to the greater level of separation between the presolved model and the original model, none of the object oriented APIs support this.  Now, the legacy Python API is a bit more closely connected to the core C code, but I found no equivalent method to getcallbacknodelp, and don't see any way to query this.


    #CPLEXOptimizers
    #DecisionOptimization