Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Problem when changing bounds of variables

    Posted 11/21/09 04:38 AM

    Originally posted by: osta


    Hello everyone,
    I am using Cplex 9.0 with Callable Library (C language) and would like to implement a Branch and Bound algorithm that calls Cplex each time there is branching on a variable.
    The branching is done thanks to setting variable bounds at each iteration by CPXchgbds. The issue is that, after modifying the upper bound for a given variable and calling Cplex for the next iteration, the same solution is displayed to me as of the previouis iteration.
    Is there anything else i shall do besides CPXchgbds?
    Thanks in advance
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Problem when changing bounds of variables

    Posted 11/21/09 07:59 AM

    Originally posted by: osta


    I found the error. I forgot to call the instruction CPXsolution once the second iteration finished running. That's why it displays the previous solution value.
    Now it is correct
    Thanks anyway!
    #CPLEXOptimizers
    #DecisionOptimization