Planning the Produciton of Bicycles


    {  Exmpl8.1-1_BicycleProduction.mpl  }

    {  Applications of Optimization with Xpress-MP  }

    {  Chapter 8.1,  Planning the Produciton of Bicycles,  Size: 36x36,  Page 141 }


TITLE
    BicycleProduction;

INDEX
    time := 1..12;

DATA
    Dem[time] := 1000 * (30,15,15,25,33,40,45,45,26,14,25,30);
    Cnorm := 32;
    Cover := 40;
    Cstock := 5;
    Cap   := 30000;!NOT specified states monthly cap is 30000 bikes prod nothing about working cap with workback cap is 35190.6
    Istock := 2000;

VARIABLE
    Pnorm[time];
    Pover[time];
    Store[time];

MODEL

    MIN ProductionCosts = SUM(time: Cnorm * Pnorm + Cover * Pover + Cstock * Store);

SUBJECT TO

    InitSatisfyDemand[time=1] -> IMDEM:
       Pnorm + Pover + Istock = Dem + Store;

    SatisfyDemand[time>1] -> MDEM:
       Pnorm + Pover + Store[time-1] = Dem + Store;

    CapacityNorm[time] -> NCAP:
       Pnorm <= Cap;

    CapacityOver[time] -> OCAP:
       Pover <= 0.5 * Cap;

END



Back To Top | Maximal Home Page | List of Models | Previous Page | Next Page