Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  initializing parameter in Cplex concert technology C++

    Posted 09/27/16 07:56 AM

    Originally posted by: Girish Dey


    In my problem, N  = set of nodes, s  Є N  =  index used for  sources, d  Є N  =  index used for  destinations.

    Zsd  = 1 , if the path between (s )and (d ) is disrupted. The problem has to be iterated  (w)  times. I have to initialize one notation in cplex c++ concert technology. The notaion is

    Zw = {(s,d) Є  NXN|Zsdw  = 1}:indices for disrupted flows in at iteration (w).

    I am not able to initialize for (Zw).  Thanks for any help.


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: initializing parameter in Cplex concert technology C++

    Posted 10/04/16 02:12 AM

    Sorry, I don't understand what you are asking. Could you please describe in more detail what you are trying to do and what your problem is? Maybe add a code example. Show what you tried so far and where you got stuck.


    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: initializing parameter in Cplex concert technology C++

    Posted 10/06/16 06:53 AM

    Originally posted by: Girish Dey


    Actually, I am using bender's decomposition to solve the problem. (Zsd ) are binary variables of subproblem which will become an input to the master problem as Zw = {(s,d) Є NXN|Zsdw = 1}: indices for disrupted flows in at iteration (w). It consider the indices of only those (Zsd ) where value is true.


    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: initializing parameter in Cplex concert technology C++

    Posted 10/12/16 03:47 AM

    So can't you just cplex.getValues(Zsd_values, Zsd) and then pick up the variables for which Zsd_values[w] > 0.5?


    #CPLEXOptimizers
    #DecisionOptimization