Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  getNCuts

    Posted 12/03/13 05:33 AM

    Originally posted by: Zacharie_ALES


    Hello,

    I'd like to know the number of cuts used to solve a problem. I found the function IloCplex.getNCuts(int which) which seems to fit. However, the parameter "which" is described as : "The cut type about which to return the number."

    I am not sure how to fix this parameter. For example if I want to know the number of clique cuts should I set "which" to IloCplex.IntParam.Cliques?

    Moreover, how can I know the number of user cut?

    Thanks in advance.


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: getNCuts

    Posted 12/03/13 07:38 AM

    Originally posted by: EhsanN


    See the link below for complete list of IloCplex::CutType enumeration.

    http://pic.dhe.ibm.com/infocenter/cosinfoc/v12r5/topic/ilog.odms.cplex.help/refcppcplex/html/enumerations/IloCplex_CutType.html

    In particular, you should use CutUser and CutClique as IloCplex.getNCuts() argument to get the number of applied user cuts and clique cuts applied, respectively.


    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: getNCuts

    Posted 12/03/13 07:59 AM

    Originally posted by: Zacharie_ALES


    Thanks!


    #CPLEXOptimizers
    #DecisionOptimization