Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  About getNcuts

    Posted 11/04/16 09:34 AM

    Originally posted by: GiovanniP


    Assume a counter is incremented every time the method

    add(IloRange cut);
    

    is called (in LaxyConstraints callback calls).

    Can the number returned by

    ilocplex.getNcuts(IloCplex.CutType.User);
    

    be smaller than the number of times add() was  called? If so, in what circumstances?


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: About getNcuts

    Posted 11/16/16 02:45 AM

    As per the reference documentation, getNcuts() only returns the cuts "in use at the end of the optimization". So this may be indeed smaller than the total number of cuts added if CPLEX purges cuts.


    #CPLEXOptimizers
    #DecisionOptimization