Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
Expand all | Collapse all

Naming constraints added by CPXXcutcallbackadd()

  • 1.  Naming constraints added by CPXXcutcallbackadd()

    Posted 10/25/18 04:12 AM

    Originally posted by: ops1234


    Hi all,

    I add user/lazy cuts with the function CPXXcutcallbackadd(). Since I am adding quite a lot of constraints I would like to identify them by giving them a name just like you can do in the function CPXXaddrows(). Is there a possibiliy to do so with CPXXcutcallbackadd()? Or any other way i can identify the constraints added by that CPXXcutcallbackadd() call?

     

    Best regards,

    ops1234


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Naming constraints added by CPXXcutcallbackadd()

    Posted 10/25/18 06:47 AM

    No, there is no way to name these constraints/cuts. If the rows in the model have names then CPLEX will automatically assign a name to the separated constraints/cuts that starts with the letter 'u' and is followed by a unique number.


    #CPLEXOptimizers
    #DecisionOptimization