Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only

if / otherwise conditions in input variable

  • 1.  if / otherwise conditions in input variable

    Posted 03/12/17 11:08 AM

    Originally posted by: Tilliminator


    Hi,

    I got problems in modelling an input-variable.

    "The probability of regular transportation, given the assumption that in a hub-and-spoke network
    at most one hub will fail under disruption situation, is computed as 1 -qk -qkm, where qkm is 0 if k = m and qm otherwise. "

    Because every qk and qm got their own failure probability they will be grabbed out of the. data file as follows: float failureprob [PotentialHubs]= ...;  //where k and m are in the set of PotentialHubs. Can you tell me how to model this condition mentioned above? I tried the if/else constraints out of the user manual and did some Internet research without success... If  I forgot anything you need to understand the problem just let me know!

     

     

    The objective function is attached.

     

     

    Thanks for your help!

     

     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer