Decision Optimization

Decision Optimization

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


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

Benders: same variable in many subproblems

  • 1.  Benders: same variable in many subproblems

    Posted 09/26/17 07:42 PM

    Originally posted by: MarkOpus


    Hi,

     

    I'm trying to create an annotation for my model where a certain continuous variable appears in multiple sub problems, but I can't seem to find a way to do this. I've looked at all the possible SetAnnotation(...) functions but I don't see one that does what I want. Does anyone know how to achieve this ?

     

    I'm using c++ so my code looks like this:

     

    cplex.setAnnotation (benders, x[0], CPX_BENDERS_MASTERVALUE);

    cplex.setAnnotation (benders, x[1], CPX_BENDERS_MASTERVALUE + 1);

    cplex.setAnnotation (benders, x[2], CPX_BENDERS_MASTERVALUE + 2);

     

    For example, I'm trying to set variable x[2] to both sub problems 1 and 2. Is it even possible?

     

    Thank you.


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Benders: same variable in many subproblems

    Posted 09/27/17 03:49 AM

    Originally posted by: dominiqs81


    Hi,

    what you are trying to do is not possible. The decomposition for Benders must be a partition, so each variable belongs to exactly one block.

     

    Domenico


    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: Benders: same variable in many subproblems

    Posted 09/27/17 03:36 PM

    Originally posted by: MarkOpus


    Ok thank you.


    #CPLEXOptimizers
    #DecisionOptimization