Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: daixieit

340        MODEL BUILDING IN MATHEMATICAL PROGRAMMING

Up to six planes can be flown:

n ≤ 6.

13.24.3 Objective

Maximize

(measuring in £1000) where Qi is the probability of scenario i.

This model has 1200 constraints, one bound and 982 variables, of which 117 are 0–1 integer and one general integer.

In defining the data, it is desirable that the demands in the scenarios cover the extremes as well as the most likely cases. The recommended sales will not exceed those of the most extreme scenario in the solution to this model. In this example, it can be seen that final demands (known with hindsight) exceed those of all scenarios in a few cases. As a result, the solution will not result in sales to meet all of these demands.

Models for subsequent weeks (with recourse) are obtained from this model by fixing prices and sales for weeks that have elapsed.

13.25 Car rental 1

We model this problem as a deterministic linear programme. There would be advantage to be gained from modelling it as a stochastic programme. In order to do this, we would need to obtain data to quantify the uncertain demand.

13.25.1 Indices

i ,j = Glasgow, Manchester, Birmingham, Plymouth

t = Monday, Tuesday, Wednesday, Thursday, Friday, Saturday k = 1, 2, 3 (days hired)

Although this is a dynamic’ problem, we seek a steady-state solution and can  therefore regard the set of days as ‘circular’, that is, Monday of a week ‘follows’ after the subsequent Saturday; that is, if t = Monday then t − 1 = Saturday.

13.25.2 Given data

D it = estimated rental demand at depoti on day t as given in Table 12.19

Pij = proportion of cars rented at depot i tobe returned to depot j as given in Table 12.21

Cij = cost of transfer of a car from depot i to depot j as given in Table 12.22

Q k = proportion of cars hired fork days

Ri = repair capacity of depot i

RCAk = rental cost fork days with return to same depot as given in Table 12.23

RCBk = rental cost fork days with return to another depot as given in Table 12.23

RCC    = rental cost for Saturday with return to same depot on Monday

RCD    = rental cost for Saturday with return to another depot on Monday CSk = marginal cost to company of k day hire of a car for all i , t

13.25.3 Variables

n = total number of cars owned

nuit = number of undamaged cars at depot i at the beginning of day t for all i , t

nd it = number of damaged cars at depot i at the beginning of day t for all i , t tr it = number of cars rented out from depot i at beginning of day t for all i , t eu it = undamaged cars left at depot i during day t for all i , t

edit = damaged cars left at depot i at the beginning of day t for all i , t

tuijt = number of undamaged cars at depot i at the beginning of day t , to be transferred to depot j for all i ,j , t

tdijt = number of damaged cars at depot i at the beginning of day t , transferred to depot t for all i ,j , t

rp it = number of damaged cars to be repaired at depoti on day for all i , t

13.25.4 Constraints

Total number of undamaged cars into depot i on day t

Total number of damaged cars into depot i on day t

Total number of undamaged cars out of depot i on day t

Total number of damaged cars out of depot i on day t

Repair capacity of depot i on all days

rp it Ri     for all  i,t.

Demand at depot i on day t

tr it ≤ Dit for all  i,t.

Total number of cars equals number hired out from all depots on Monday for 3 days, plus those on Tuesday for 2 or 3 days, plus all damaged and undamaged cars in depots at the beginning of Wednesday.

13.25.5 Objective

Note that £10 has been  added to the profit  on  each rented  car to reflect the surcharge of £100 charged on the  10% of cars that are returned damaged.

This model has a total of 84 constraints and 337 variables.

It is not necessary to constrain the wijkl to  be non-negative. They can be regarded as ‘free’ variables. Avoiding these two stipulations helps the model to solve more easily.

13.26 Car rental 2

We introduce the following 0–1 integer variables with the following interpretations:

δB1     = 1, if the Birmingham repair capacity is expanded by 5 cars per day.

δB2   = 1, if the Birmingham repair capacity is expanded by a further 5 cars per day.

δM 1 = 1, if the Manchester repair capacity is expanded by 5 cars per day.

δM 2 = 1, if the Manchester repair capacity is expanded by a further 5 cars per day.

δP = 1, if the Plymouth repair capacity is expanded by 5 cars per day.

The following expression is added to the objective function:

18 000δB1+ 8 000δB2+ 20 000δM1+ 5 000δM2+ 19 000δP

together with the following extra constraints:

δB1  ≥ δB2 ,    δM1  ≥ δM2 ,     δB1+ δB2+ δM1+ δM2+ δP  ≤ 3

and the repair capacity constraints for Birmingham, Manchester and Plymouth have 5δB1+ 5δB2 ,5δM1+ 5δM2  and 5δP , respectively added.

13.27 Lost baggage distribution

We formulate this problem as an integer programming model. It is an extension of the travelling salesman problem, discussed in section 9.5. It can be regarded as a (simple) case of the vehicle routing problem. In the problem here, there are no vehicle capacites and no time windows for the delivery to each location (apart from the overall 2 hours guarantee). Nevertheless, it is potentially a very difficult problem to solve, for more than a modest number of locations. Also it can give rise to a very large model. There are a number of different ways of formulating a model, which vary greatly in their size and difficuly of solution. We suggest a model that is practicable in both size and computational tractibility. Although the problem is ‘symmetric’ in the sense that the distance from X to Y is the same as that from Y to X , we extend the asymmetric formulation of the travelling salesman problem in order to give the time’ to return to Heathrow, after a van has completed all its deliveries, as 0. In this way, only the total time taken to reach the last delivery is counted within the 2 hours time limit. We are therefore seeking a Hamiltoniam path’ (as opposed to a circuit) for each van, starting from Heathrow.

13.27.1 Variables

All variables are 0–1 and integer

xijk = 1, iff van k visits, and goes directly from location i to j for all i , j , and k.

yik = 1, iff location i is visited by van k for all i , k.

δ k = 1, iff van k is used.