Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  ExportModel Inside Callbacks

    Posted 08/14/14 11:55 PM

    Originally posted by: kaarthiksundar


    I am currently trying to implement a branch and cut algorithm using the CPLEX callbacks in C++. I was wondering if there is a way to do an exporModel("file.lp") inside the Lazy or UserCut Callback. I would like to store the LP files at each stage. 

     

    Thanks in advance,

     

    Kaarthik


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: ExportModel Inside Callbacks

    Posted 08/15/14 01:15 AM

    If "C++" means "C++ Concert technology" (class IloCplex and friends) then you cannot do that. Concert technology does not provide direct access to the model solved at each node.

    Direct access to the current node's LP is only available with the callable library.


    #CPLEXOptimizers
    #DecisionOptimization