Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  backlog and lostsale

    Posted 08/01/17 08:34 AM

    Originally posted by: xspeng


    int NbPlants = ...; //j belong to P
    rangePlants = 1..NbPlants;
    int NbCustomers = ...;
    range Customers = 1..NbCustomers; // c belong to C
    int NbProducts = ...;
    range Products = 1..NbProducts;// i belong to N
    int NbPeriods = ...;  // t belong to T
    range Periods = 1..NbPeriods ;
    For more details, please see the attached pictures
    I have code :

    float  Demand[Customers][Products][Periods];
    dvar float+ Backlog[Customers][Products][Periods];

    dvar float+ Lostsale[Customers][Products][Periods];
    but i do not know how to code the dvar float S/ and the equality constraint ,as picture2,3,4
    I hope you can help to solve the problems
    Thank you so much for your help in advance


    #DecisionOptimization
    #OPLusingCPLEXOptimizer