Flight connections at a hub


    {  Exmpl11.1-1_FlightConnections.mpl }

    {  Applications of Optimization with Xpress-MP  }

    {  Chapter 11.1,  Flight Connections at a Hub,  Size: 12x32,  Page 213 }


TITLE
    FlightConnections;

INDEX
    plane := 1..6;
    plane2 := plane;

DATA
    M := 1000;
    Pass[plane,plane2] := (35,12,16,38, 5, 2,
                           25, 8, 9,24, 6, 8,
                           12, 8,11,27, 3, 2,
                           38,15,14,30, 2, 9,
                            M, 9, 8,25,10, 5,
                            M, M, M,14, 6, 7);

VARIABLE
    Cont[plane,plane2] WHERE (Pass < M);

MODEL

    MAX Transfer = SUM(plane,plane2: Pass * Cont);

SUBJECT TO

    OneInOutcomingFlight[plane] -> OIO:
        SUM(plane2: Cont) = 1;
    OneInOutcomingFlightA[plane2] -> OIOA:
        SUM(plane: Cont) = 1;

END

BINARY
    TUse;
    Change;

END


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