Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Fixing variables in Generic Callbacks

    Posted 07/07/20 12:45 PM
    Hi,

    I am working on an IP using Cplex coupled with Concert Technology C++.
    I know that the new generic callback feature allows to do some of the cool stuff that could be done within legacy control callbacks such as adding cuts or rejecting candidate solutions. I want to fix some variables based on some partial solution (a solution where some variables have already been fixed to integer values and the remaining are still fractional).

    I know this can be done using the traditional legacy branchCallback, but is this possible with the new generic callbacks?


    Thanks in advance.

    Rafael Colares

    ------------------------------
    Rafael Colares
    ------------------------------

    #DecisionOptimization


  • 2.  RE: Fixing variables in Generic Callbacks
    Best Answer

    Posted 07/08/20 03:53 AM
    Yes, this is possible using the CPX_CALLBACKCONTEXT_BRANCHING context, see also here.

    ------------------------------
    Daniel Junglas
    ------------------------------