• Non ci sono risultati.

Hierarchical Fleet Mix Problems with risk-aversion: a CVaR approach.

N/A
N/A
Protected

Academic year: 2022

Condividi "Hierarchical Fleet Mix Problems with risk-aversion: a CVaR approach."

Copied!
18
0
0

Testo completo

(1)

Hierarchical Fleet Mix Problems

with risk-aversion: a CVaR approach.

Rossana Riccardi

Department of Statistics and Applied Mathematics Faculty of Economics, University of Pisa

Via Cosimo Ridolfi 10, 56124 Pisa, ITALY e-mail: riccardi@ec.unipi.it

Abstract

In this paper a two-stage multiperiod stochastic hierarchical workforce prob- lem is studied from both a risk neutral and a risk averse approach. In the consid- ered hierarchical models workforce units can be substituted by higher qualified ones; external workforce can also be hired to cover unfulfilled jobs and to avoid penalties. Demand for jobs is assumed to be stochastic. In the light of includ- ing agent risk aversion, the CVaR measure has been used following the lines of Rockafellar and Uryasev. The results of an extensive computational test are provided in order to validate the models.

Key words: Hierarchical fleet mix, Stochastic programming, CVaR.

AMS - 2000 Math. Subj. Class. 90C10, 90C90, 90C31.

JEL - 1999 Class. Syst. C61, C63.

1 Introduction

The classical fleet size problem can be summarized as follows: how many vehicles should a firm have in its transport fleet to meet a fluctuating work load? And which should be the optimal fleet mix in the case different kinds of vehicles can be employed?

The study of this kind of problems is an important topic of management science because of their practical applications (see [2, 9, 10, 20]). As an example, emergency medical services involve decisions about the optimal fleet mix since ambulance services can be divided into categories according to the urgency of the requests, the need of a doctor on board, the equipment installed in the vehicle. Obviously, fleet mix problems are not related to vehicles only, since in general they involve units (that is to say single workforce elements such as workers, machines, trucks, ambulances, and so on) which have to fulfill jobs requests.

Such a kind of problems are inherently based on demand uncertainty. The decisions on the optimal fleet mix have to be taken before the jobs requests are revealed. From a firm point of view, a two stage process arises: first of all the fleet mix has to be chosen on the basis of a forecasted demand, then it can be adjusted taking into account of the actual requests. It is worth noticing that a good first stage decision is crucial for the firm from both an economical and a

(2)

managerial point of view, and that different approaches for managing demand uncertainty may produce different first stage solutions.

Two different peculiarities can be considered. The first one is the possibility to hire external units to cover demand peaks; this leads to the presence of both internal and external units to be employed in order to satisfy the jobs requests, which yields the need to determine the optimal number of internal units to own and of external units to hire. A second critical market factor is the capability to fulfill the jobs in a requested amount of time. In particular, contractual constraints could fix penalties in the case the jobs are not fulfilled in time; this leads to the need to manage the peaks at a reasonable cost (for combined fleet size and vehicle routing problems see, for instance, Dullaert et al. [7]).

Furthermore, fleet mix problems are said to be hierarchical when the fleet is heterogeneous and the relative units can be grouped in hierarchical sets ac- cording to different capabilities or peculiarities (see for all [2, 10]); for example, an equipped ambulance with a medicine doctor on board can fulfill any request, an equipped ambulance with no doctor on board has a more limited use, an unequipped ambulance with no doctor on board can be used only to move not suffering patients. Hierarchical problems arise in scheduling of health care staff, job shop, maintenance crew and so on. In the literature the main research topic has been the shift scheduling of hierarchical workforce. In the paper by Narasimhan [14], for example, a single shift scheduling of hierarchical workforce has been considered in order to determine the best workforce composition which guarantees the full demand satisfaction and two days off for each employee every week. Burns and Koop [4] provide a modular approach for solving workforce scheduling problems characterized by multiple shifts and single category of em- ployees. In all these models daily requests have to be completely fulfilled. On the contrary, in [5] Cambini and Riccardi propose a hierarchical fleet mix prob- lem where demand violations are admitted and external units can be hired only to fulfill less qualified jobs.

It is worth noticing that demand for services is usually assumed in the liter- ature to be deterministic, that is to say that it is fixed on the basis of a suitable demand estimation.

The aim of this paper is to present fleet mix models which consider in an uni- fied framework all of the following crucial aspects: demand uncertainty, demand violation, hierarchical fleet structure, external units for all the hierarchical lev- els, risk aversion. The proposed models, thanks to the various considered fleet mix peculiarities, can be a useful strategic management tool aimed to determine an optimal long term strategy.

In particular, the service demand is assumed to be stochastic, depending on a random factor θ. This means that in a first stage, when demand is un- known, decisions on the optimal internal fleet have to be taken on the basis of a suitable estimation of future demand. In a second stage, the possibility of hiring external units for all the considered hierarchical levels can compensate the units shortage in case of demand peaks. Considering an heterogeneous fleet both in the case of internal and external units is a generalized version of the model proposed by Cambini and Riccardi [5]. Also quality of service constraints (QOS) are included: for each type of request k a minimum number of fulfilled jobs can be required. In other words, the firm may want to guarantee a certain service level in order to preserve an efficient corporate image. In this light, demand violations are admitted and a penalty cost function is included when

(3)

the total demand is not completely fulfilled. The objective of these models is to minimize the expected total costs (including penalties) satisfying the quality of service constraints. Two different model formulations are proposed in this paper: a risk neutral approach, minimizing the expected total cost, and a risk aversion approach using a CVaR measure in the sense of Rockafellar and Uryasev [15, 16]. Both these formulations are two-stage multi-period stochastic program- ming models and their deterministic equivalent formulations are deduced with a scenarios approach. According to the features of the problem, the models belong to nonlinear integer programming and suitable equivalent linearized versions are provided in order to point out how they can be computationally managed.

In Section 2 a first model formulation, based on a risk neutral approach, is introduced. In this model a risk neutral agent aims to minimize the expected value of its cost function. The linearization of the model and its deterministic equivalent formulation are provided in Section 3. Neverthless, operators are usually risk averse in real applications, so that a more precise cost estimation, even if higher, is preferred to the expected cost estimation. For this reason, in Section 4 a Conditional Value-at-Risk (CVaR) approach is proposed and a suitable linearized version of the model is obtained too. All these models have been computationally tested by comparing them with two expected value formulations (EV and EV0) and the results are presented in Section 5. The test has been carried out by generating 24 different instances according to different QOS levels, different internal, external and penalty costs, high and low demand fluctuations.

2 Statement of the problem

The aim of the considered model is to determine an optimal hierarchical work- force in which a higher qualified unit can substitute for a lower qualified one but not vice versa. Both internal and external units can be hired to fulfill customers demand. All internal units are full working units, while external units can be employed for a single job. Internal and external units are classified into k levels from the less to the most qualified one. The service demand is assumed to be stochastic, depending on a random factor θ.

Also quality of service constraints are included: for each type of request k a minimum number of fulfilled jobs can be required, in order to guarantee a certain quality of service level and to preserve an efficient corporate image. The objective is to minimize total costs (including penalties) satisfying the quality of service constraints.

In order to provide a formal definition of the model, various notations have to be introduced. In particular, as regards to the internal units, the following parameters and variables will be used (recall that θ represents the stochastic rumor):

• j = 1, . . . J , is the number of different specialization levels of internal units;

• k = 1, . . . J , is the number of different jobs for each level;

• n = 1, . . . , N , is the number of working periods;

(4)

• aL = (aLj) ∈ ZJ, aL≥0, where aLj is the minimum number of internal units of level j;

• aU = (aUj) ∈ ZJ, aU≥aL≥0, where aUj is the maximum number of internal units of level j;

• x = (xj) ∈ ZJ, aL≤x≤aU, where xj is the variable representing the number of internal units of type j;

• b = (bj) ∈ ZJ, b > 0, where bj is the number of jobs that a single internal unit of level j can fulfill in a working period.

• Y (θ) = [ynjk(θ)] ∈ ZN ×J ×J, where yjkn(θ) is the variable representing the number of internal units of level j, employed to fulfill stochastic requests of type k in period n;

In the light of the hierarchical structure of the model, level j units will be employed to fulfill requests of type k ≤ j.

For the external units we need of the followings:

• G = (gjn) ∈ ZN ×J, G≥0, where hLnj is the minimum number of external units of type j at the n-th working period;

• H = (hnj) ∈ ZN ×J, H≤G, where hUnj is the maximum number of external units of type j at the n-th working period;

• Z(θ) = [zjkn(θ)] ∈ ZN ×J ×J,Z(θ)≥0, where zjkn(θ) is the variable represent- ing the number of external units of level j requested at the n-th working period to execute the job of type k depending on the random factor θ.

The stochastic requests are described by the following parameters:

• M (θ) = [mnk(θ)] ∈ ZN ×J, M (θ)≥0, where mnk(θ) is the maximum number of jobs of type k at the n-th working period depending on the random factor θ;

• D(θ) = [dnk(θ)] ∈ ZN ×J, 0≤D(θ)≤M (θ), where dnk(θ) is the minimum number of jobs of type k to be fulfilled at the n-th working period de- pending on the random factor θ;

while the various costs are represented by:

• cx= (cxj) ∈ RJ, cx> 0, where cxj is the cost of a single internal unit of type j in each period n;

• Cz = (cznj) ∈ RN ×J, cz> 0, where czjn is the cost of a single job done by an external unit of level j at the n-th working period;

• Cw= (cwkn) ∈ RN ×J, cw≥0, where cwkn is the penalty cost of a single job of type k at the n-th working period which has not been fulfilled.

According to the hierarchical structure of the model, it is reasonable to suppose that higher qualified units have an higher marginal cost, that is cxJ ≥ cxJ −1

· · · ≥ cx1 and czJ ≥ czJ −1≥ · · · ≥ cz1.

By means of the introduced notations, the following formal definition of the problem is given.

(5)

Definition 2.1 Let P be the following stochastic problem:

(P ) min

x,Y,Z N

J

X

j=1

cxjxj+

N

X

n=1 J

X

j=1 j

X

k=1

cznjzjkn(θ) +

N

X

n=1 J

X

k=1

cwnkωkn(θ) (1)

s.t. aLj ≤ xj≤ aUj j = 1, . . . , k (2)

bjxj=

j

X

k=1

yjkn(θ) n = 1, . . . , N, j = 1, . . . , J (3)

J

X

j=k

ynjk(θ) + znjk(θ) ≥ dnk n = 1, . . . , N, k = 1, . . . , J (4)

gjn

j

X

k=1

zjkn(θ) ≤ hnj n = 1, . . . , N, j = 1, . . . , J (5)

zjkn(θ), yjkn(θ) ≥ 0 n = 1, . . . , N, j = 1, . . . , J, k = 1, . . . , J (6)

where ∀ n = 1, . . . , N, k = 1, . . . , J :

Rnk(θ) = mnk(θ) −

J

X

j=k

yjkn(θ) + zjkn(θ)

(7)

ωkn(θ) = max {0, Rnk(θ)} (8)

The objective function of problem P is the sum of three cost factors: the cost of internal units NPJ

j=1cxjxj, employed for the whole considered period, the expected cost for external units PN

n=1

PJ j=1

Pj

k=1cznkzjkn(θ), proportional to the number of temporary units employed each working period n for each kind of requests j, and the expected penalty costPN

n=1

PJ

k=1cwnkωkn(θ). The penalty cost function is the cost related to the unfulfilled requests. When the requests are not easily predictable, for example in the case of maintenance units, some requests can not be fulfilled in the contractual time window. This happens, for instance, when it is too expensive to employ an additional internal unit to cover demand peaks. Internal units, in facts, are hired for the whole period under consideration so that there is a trade off between increasing units costs and paying a penalty. In this model we suppose that the penalty cost is proportional to the number of unfulfilled requests ωkn(θ) (see constraints (8)). Notice that variables Rkn(θ) in constraints (7) is unrestricted in sign and represent the excess of demand or supply in maintenance services for each working period n and each kind of request j, depending on its positive or negative value.

As regards to the feasible region, constraints (3) determine the distribution of internal units, for each working period n, among the different jobs they are able to execute. These constraints express the hierarchical structure of the

(6)

workforce: for each level of qualification j the total number of internal employees are allocated to the different jobs of kind k ≤ j. Constraints (4) represent the quality of service constraints: as higher is parameter dnk as more restrictive is the firm policy on demand satisfaction. The case dnk = mnk reduces to the equilibrium condition in which demand has to be fully satisfied. Box constraints (2) and (5) include the case of lower and upper bound on labour supply.

3 Discretization of the problem

The problem described in the previous section is an integer multi-period two- stage stochastic model with fixed recourse. In facts, vector variable x represents the first stage decision variables, taking into account that internal units have to be determined at the beginning of the time period, while external units znjk(θ) and internal units allocation between different jobs ynjk(θ) are determined after the realizations of the random events θ. If we consider the case in which an analytical representation of the density function is not available, but we have S demand scenarios, sampled from the density p(θ), the deterministic equivalent formulation of problem P can be rewritten in the following expanded model:

( ˜P )

min

x,Ys,Zs

f (x, Y˜ s, Zs) (9)

s.t. aLj ≤ xj ≤ aUj j = 1, . . . , k (10)

bjxj =

j

X

k=1

yjkns n = 1, . . . , N, j = 1, . . . , J s = 1, . . . , S (11)

J

X

j=k

yjkns+ zjkns ≥ dnsk n = 1, . . . , N, k = 1, . . . , J s = 1, . . . , S (12)

gjn

j

X

k=1

zjkn(θ) ≤ hnj n = 1, . . . , N, j = 1, . . . , J (13)

Rkns= mnsk

J

X

j=k

ynsjk+ zjkns

n = 1, . . . , N, k = 1, . . . , J s = 1, . . . , S (14)

ωkns= max{0, Rnsk } n = 1, . . . , N, k = 1, . . . J, s = 1, . . . , S (15)

zjkns, yjkns≥ 0 n = 1, . . . , N, j = 1, . . . , J, k = 1, . . . , J s = 1, . . . , S (16)

where f (x, Y˜ s, Zs) = N

J

X

j=1

cxjxj+

N

X

n=1 J

X

j=1 j

X

k=1

czn

j

S

X

s=1

psznsjk +

N

X

n=1 J

X

k=1

cwn

k

S

X

s=1

psωkns (17)

(7)

and Ys= (ynsjk), Zs= (znsjk).

In addition constraints (15) are nonlinear, so that well known solution algo- rithms for linear programming can not be directly used without an equivalent linear formulation. In this light, since variables ωknsare minimized in the objec- tive function, constraints (15) can be linearized by substituting them with the followings:

ωkns≥ Rnsk , ωnsk ≥ 0, n = 1, . . . , N, k = 1, . . . , J s = 1, . . . , S (18) In this light, the linearized version ˜P of problem P is suitable for computa- tional purpose and, in particular, it will be used for obtaining first stage optimal solutions. Clearly, the discretized first stage problem is a large dimension linear problem which needs of suitable softwares (like AMPL+CPLEX) in order to be computationally solved.

4 Risk-Aversion: a CVaR approach

In the previous sections we referred to a risk neutral agent who aims to minimize the expected value of its cost function. In real applications, usually, operators are risk averse, so that they prefer a more precise cost estimation, even if higher, than the expected cost estimation. In order to include risk aversion in our op- timization model we consider a Conditional Value-at-Risk (CVaR) approach in the sense of Rockafellar and Uryasev [15, 16]. CVaR represents the expected value of loss, conditional on being on the bad tail of the distribution. In other words it is the expected loss exceeding the corresponding Value-at-Risk (VaR).

This risk measure overcomes the limitations of VaR, since it is a coherent risk measure (among others, it verifies the subadditivity property) and it is a con- vex function. Following the lines of Rockafellar and Uryasev [15], the CVaR optimization problem can be modeled as follows.

Definition 4.1 Let PCV aR be the following stochastic problem:

PCV aR:

 min fCV aR(ξ, x, Y (θ), Z(θ)) (x, Y (θ), Z(θ)) verify (2) − (6), ξ ∈ <

where

fCV aR(ξ, x, Y (θ), Z(θ)) = ξ + 1 (1 − α)

Z

max{0, f (x, Y (θ), Z(θ)) − ξ}p(θ)dθ and f (x, Y (θ), Z(θ)) is defined as in Problem P , p(θ) is the probability density function of θ.

If we consider the case in which an analytical representation of the density function is not available, but we have S demand scenarios, sampled from the density p(θ), we can approximately calculate function fCV aR(ξ, x, Y (θ), Z(θ)) as follows:

CV aR(ξ, x, Ys, Zs, vs) = ξ + 1 (1 − α)

S

X

s=1

vsp(s) (19)

(8)

where

vs= max{0, ˜f (x, Ys, Zs) − ξ} s = 1, . . . , S (20) and ˜f (x, Ys, Zs) is defined in (17). Clearly, constraints (2)-(6) can be dis- cretized by means of constraints (10)-(16).

In order to concretely solve the discretized version of problem PCV aR with the use of standard linear programming tools, constraints (15) and (20) need to be linearized. Since variables vs are minimized in the objective function, constraints (20) can be linearized by substituting them with the followings:

vs≥ ˜f (x, Ys, Zs) − ξ, vs≥ 0, s = 1, . . . , S (21) On the other hand, constraints (15) can be linearized by introducing the binary variables δkns ∈ {0, 1}, n = 1, . . . , N, k = 1, . . . , J, s = 1 . . . S and a value Big >> 0. The resulting linear discretized problem is:

CV aR:

 min ˜fCV aR(ξ, x, Ys, Zs, vs) (ξ, x, Ys, Zs, vs, δs) ∈ ˜DCV aR

where:

CV aR=









































for all n = 1, . . . , N, j = 1, . . . , J, k = 1, . . . , J, s = 1 . . . S : vs+ ξ ≥ ˜f (x, Ys, Zs)

−Big · δkns≤ Rnsk ≤ Big(1 − δnsk ) ωnsk ≤ Rnsk + Big · δnsk

ωkns≤ Big(1 − δkns) vs≥0, δkns∈ {0, 1}

constraints (10)-(14), (16), (18) of ˜P hold









































5 Computational results

Models ˜P and ˜PCV aR have been implemented in order to test the goodness of the stochastic approach with respect to the Expected Value solution (EV).

Different demand distributions have been considered in both first and second stages: uniform, normal and beta distribution. The body of the computational test, and in particular the data generation and the solution procedures for the second stage problems, has been implemented in MatLab 2010a. The first stage decision variables are obtained by solving the linearized version of problem P with AMPL+CPLEX v.12.

(9)

In particular, the first step optimal solution has been tested generating 5000 out of sample scenarios. Different problem instances have been consid- ered varying cost parameters, quality of service levels, in sample scenarios. For the sake of convenience three hierarchical levels are assumed. The parameters of the problem aL,aU, b, g, h, cx, Cz and Cw have been generated by using the “rand()” MatLab function. Specifically speaking, the cost parameters have been generated according to a hierarchical cost structure, that is to say that the components of cx and cw are in increasing order, while the components of the parameter b are in decreasing order. Stochastic matrix parameter M has been generated according to three different distributions: uniform, normal and beta.

The distribution generation has been carried out using the Halton Sequences MatLab Code and the components in the various rows of the matrix parameter M are in decreasing order with respect to the column. The matrix parameter D has been generated from M taking into account different levels of quality of service. For the sake of clearness, the results of the computational test are described and discussed in two different subsections. In the first one, the results of a single instance test are given and described in details in order to clarify their meanings. In the second subsection the overall results of the extensive computational test are given and the validity of the proposed models is pointed out.

5.1 A single instance computational results

In order to clarify the meanings of the various computational results, in this sub- section a single instance test is described and discussed in details. In particular, the case k = 3, n = 20 is considered and the model consistency is investi- gated with respect to two deterministic case (expected value case and adjusted expected value case). Some statistic measures have been calculated: average errors, absolute average errors, errors standard deviation, Expected Value of Perfect Information (EVPI), Value of Stochastic Solution (VSS) etc. As regards to the generated values, for all j, k, n, we have cxj ∈ [20, 100], cwn

k ∈ [10, 100], czjn ∈ [50, 120], aLj ∈ [0, 10], aUj ∈ [1000, 3000], gnj = 0, hnj ∈ [1000, 2000] and bj∈ [1, 4]. Quality of service levels have been fixed equal to [0.7, 0.8, 0.9]. This means that for the lower service demand the firm wants to fulfill at least the 70%

of the total requests for each time period, for the second level of requests the 80%

of requests has to be guaranteed and for the most qualified demand for services the 90% of requests has to be covered. Demand for service stochastic parameter M has been simulated starting from a mean, for each level, respectively equal to µ = [1000, 500, 300] and a standard deviation equal to σ = [500, 250, 150]

respectively. Different numbers of in sample scenarios have been considered, in the case shown below we referred to 500 in sample scenarios. A sort of peak ef- fect has been considered varying mean values in some critical days (for example peaks can be reached on Monday and Friday). For this reasons the Two-Stage stochastic model (TS) and CVaR model have been compared with two different deterministic models: pure expected model (EV0) and an adjusted expected model (EV) taking into account the peak effect. Some statistic measures have been calculated: VSS, average errors, absolute average errors, errors standard deviation, VaR etc. The main results are presented in the following Tables 1 and 2 and in Figures 1-4.

(10)

Statistics/Models EV0 EV TS CVaR − 95%

FValStage1 200790960 205220124 300440600 302980400 Mean FValStage2 303370700 301150200 300450000 300990400 MinFVal Stage2 202860252 205280096 206020911 208630080 MaxFVal Stage2 409210256 402390431 401010478 308790064 Standard Error 3620350 2380930 2100240 1360970 VaR − 95% 309720045 305040502 304260968 303720445

EVPI - - 300748 -

VSS − EV0 - - 2930380 -

VSS − EV - - 370705 -

Table 1: Models optimal values comparison: normal distribution

Table 1 collects the results related to the considered instance in the case of normal distrubution. The same instance has been solved with EV0, EV, Two-Stage stochastic model and CVaR model finding the first stage optimal solution, then 5000 out of sample scenarios have been generated and the second stage optimal solutions are calculated. It can be easily observed that the optimal first stage value for problems EV0 and EV significantly differs from the second stage one while in the stochastic models the two solutions are almost the same.

Also the Value at Risk comparison at level α = 0.05 shows that the stochastic model is more stable around the first stage optimal solution and the expected total cost is lower. CVaR model with α = 0.95 ensures the lowest VaR value. In order to clarify this behaviour, in Figure 1, 2, 3 and 4 the distribution of second stage optimal solutions for the four models are presented in the case of normal demand distribution. It can be easily verified that the EV0 distribution is more flat and variable, moreover the right tail is heavy. This means that the risk of higher cost is greater in EV0 and EV models than in the stochastic one. The CVaR distribution shows a different behaviour. The distribution is very tight with high peakedness and the right tail is flat with low volatility.

Similar results are obtained in the case of uniform and beta distributions.

In Table 2 the results concerning errors measures are presented. Model EV and EV0 can not be efficiently used to determine first stage optimal solutions since the errors in cost prevision are respectively higher than 20% and 60% as average values. The two stage stochastic model (TS) can forecast quite well the exact second stage solution, while the CVaR model slightly overestimates the second stage optimal solution. This is the price of risk aversion in the sense that a more prudential perspective is able to face demand fluctuations by reducing forecast errors. Notice also that both stochastic models (TS and CVaR) significantly reduce the maximum errors oscillations with respect to the deterministic ones, in particular CVaR model seems to be the better response for a risk averse agent who wants to minimize the probability to incur in higher cost levels than the ones predicted in the first stage solution.

(11)

Errors/Models EV0 EV TS CVaR − 95%

Min Errors 0.09918 0.002367 −0.14508 −0.13198

Max Errors 1.366 0.6809 0.34713 0.15283

Mean Errors 0.60469 0.21979 0.00012 −0.0603

Standard Error 0.1742 0.09474 0.06905 0.03574

Min AbsErrors 0.0992 0.0024 0 0

Max AbsErrors 1.366 0.6809 0.34713 0.15283

Mean AbsErrors 0.60469 0.21979 0.05478 0.0527

Standard AbsError 0.17421 0.0947 0.04203 0.03304 Table 2: Model EV, EV0, Two-Stage, CVaR: second stage errors measures

5.2 Results of the extensive computational tests

The extensive computational test includes 24 different instances generated vary- ing internal unit costs, penalty costs, quality of service constraints and demand variability. For each instance, three different demand distributions have been used (Uniform, Normal and Beta). Internal units costs and penalty costs have been tested low and high, three different quality of service levels have been considered (low, medium, high) and scenarios have been generated with high and low volatility for each distribution and with (Stag 1) or without (Stag 0) seasonality effects. Different values of in sample scenarios have been considered from 200 to 500 scenarios. In the CVaR model different α values have been also tested. For each instance 5000 out of sample scenarios have been generated and the optimal first stage solution has been compared with the out of sample results. Let us describe more in detail the data used in the simulation tests.

Quality of Service Levels (QoS):

- low (L): [0.3; 0.4; 0.6]

- medium (M): [0.5; 0.6; 0.8]

- high (H): [0.7; 0.8; 0.9]

Internal units daily costs: random values with hierarchical structure in the following intervals

- low: [20; 100]

- high: [120; 240]

Penalty costs: random values in the following intervals (min and max values for each level)

- low: [10 30; 30 50; 50 100]

- high: [100 150; 150 200; 200 250]

All these possible combinations have been investigated (see Table 3). For each instance 10 different test problems have been generated in order to avoid outliers values and the means of the outcomes are given in Tables 4, 5 and 6 as the results of the computational test.

(12)

Instances InternalCosts ExternalCosts PenaltyCosts

P rob 1 High Low Low

P rob 2 Low High Low

P rob 3 Low High High

P rob 4 High Low High

Table 3: Instances description

The obtained outcomes seem to confirm the goodness of the stochastic mod- els. In particular both the stochastic models show a better behaviour with respect to the deterministic ones in correspondence to high penalty costs and high quality of service levels. This can be easily explained taking into account that the shortage of internal units to cover the peaks (first stage optimal so- lutions) leads to employ more external units at higher costs in order to avoid penalties (see for instance the case of P 3 where the cost structure produces high errors in the case of deterministic models). The high accuracy of the first stage solution in the Two-Stage (TS) model is stable also in presence of different sec- ond stage demand realizations. On one hand, the CVaR models (both for the two different α values) overestimate the total cost of the second stage, on the other hand the maximum error (that is a total cost higher than the estimated one in the fist stage) is always the lowest. This means that a risk averse agent can predict with more accuracy the effective cost he will face in the second stage and it will occur in an higher total cost in very few situations. Moreover, in case of high demand volatility (seasonality effects, demand peaks denoted as Stag 1) and with asymmetric distributions the CVaR model performs better than the TS one. As more the firm is risk averse as bigger the value α has to be taken in order to reduce cost variability. In the case of low penalties, low external costs, low quality of service constraints and low demand variability the error interval is tighter and it seems reasonable to use a deterministic model saving compu- tational effort. The cases of high volatility tend to enlarge the second stage interval of variation for the optimal value in each considered instance except for the CVaR models. Finally, the use of a high number of in sample scenarios reduces second stage mean errors, specially in the case of high volatility, but has a small effect on the optimal solution when exceeding 500 scenarios. As a consequence, there is no incentive in furthermore increasing in sample scenarios taking into account the corresponding rise in computational times.

(13)

2 2.5 3 3.5 4 4.5 5 x 106 0

10 20 30 40 50 60

Fval

Frequences

Figure 1: FVAL EV0 model out of sample distribution

2 2.5 3 3.5 4 4.5 5

x 106 0

10 20 30 40 50 60

Fval

Frequences

Figure 2: FVAL EV model out of sample distribution

2 2.5 3 3.5 4 4.5 5

x 106 0

10 20 30 40 50 60

Fval

Frequences

Figure 3: FVAL Two-Stage stochastic model out of sample distribution

2 2.5 3 3.5 4 4.5 5

x 106 0

10 20 30 40 50 60

FVal

Frequences

13

(14)

Stag0Stag1 PModelMinMaxMeanStdMAbsStdAbsMinMaxMeanStdMAbsStdAbs QOSErrErrErrErrErrErrErrErrErrErrErrErr TS-0.49570.5093-0.00050.14340.11500.0857-0.45100.4766-0.00060.13440.10770.0804 EV-0.45600.56120.04250.14550.12150.0920-0.40090.54910.05630.13800.12050.0912 P1EV0-0.39430.58490.08250.14060.13290.0986-0.33120.58030.10510.13340.14030.1012 LCVaR(0.95)-0.57190.2064-0.19010.11130.19420.1038-0.50830.2034-0.16470.10350.17000.0945 CVaR(0.975)-0.57570.1857-0.20230.10890.20510.1036-0.51020.1781-0.17840.10010.18170.0939 TS-0.50850.5500-0.00060.15490.12430.0923-0.42840.4942-0.00060.13370.10720.0800 EV-0.43540.67030.08850.16250.14800.1123-0.36170.67460.11930.15070.15550.1149 P1EV0-0.35270.73300.15150.15980.18180.1278-0.26830.74660.19380.14810.20880.1301 MCVaR(0.95)-0.56790.2358-0.18900.11770.19500.1074-0.44690.2009-0.14930.09410.15460.0852 CVaR(0.975)-0.58030.1934-0.21580.11320.21850.1079-0.44770.1735-0.16280.09030.16600.0845 TS-0.52120.5797-0.00060.16360.13170.0970-0.41570.5038-0.00060.13400.10740.0801 EV-0.43110.70940.09710.17040.15750.1190-0.32490.76790.16860.16010.19080.1339 P1EV0-0.31460.87450.22070.17880.23950.1556-0.20590.90540.28580.16350.29200.1544 HCVaR(0.95)-0.57160.2644-0.18700.12460.19520.1114-0.40380.2094-0.13320.08890.13980.0784 CVaR(0.975)-0.58390.2207-0.21420.11990.21840.1124-0.40140.1911-0.14090.08590.14670.0772 TS-0.33990.5126-0.00060.12990.10450.0771-0.30760.4491-0.00010.11120.08910.0664 EV-0.20851.04850.34220.19030.34530.1847-0.09271.04040.36790.16570.37020.1623 P2EV0-0.01961.46540.61860.22210.62000.22010.01961.46980.63840.21060.63890.2097 LCVaR(0.95)-0.37260.2136-0.15790.09070.16210.0829-0.27960.1607-0.11050.06440.11370.0585 CVaR(0.975)-0.38050.1828-0.17560.08720.17780.0828-0.28070.1349-0.12190.06060.12350.0573 TS-0.33090.5694-0.00050.13800.11120.0818-0.28550.4519-0.00040.10720.08600.0641 EV-0.22351.25380.36370.21990.36830.2121-0.07911.18760.42340.18280.42480.1806 P2EV0-0.01081.78150.70610.26690.70670.26580.03301.71920.73290.24390.73300.2437 MCVaR(0.95)-0.35400.2289-0.15920.09180.16390.0833-0.23120.1542-0.09650.05660.09970.0509 CVaR(0.975)-0.36480.1914-0.17990.08770.18210.0831-0.23290.1253-0.10870.05260.11010.0496 TS-0.32560.6582-0.00060.15120.12180.0896-0.25110.4417-0.00030.10130.08120.0605 EV-0.23581.36880.34480.24510.35490.2304-0.04851.48980.53610.22220.53670.2213 P2EV0-0.00232.36240.87780.35950.87800.35900.04892.32740.95840.32830.95840.3283 HCVaR(0.95)-0.32280.2380-0.15350.08780.15810.0791-0.19000.1406-0.08460.04910.08740.0438 CVaR(0.975)-0.32870.1936-0.17150.08150.17360.0771-0.18830.1129-0.09360.04450.09480.0418 TS-0.29180.6964-0.00050.15440.12440.0914-0.21630.4185-0.00070.09310.07460.0557 EV-0.15141.51680.43150.25690.43370.2531-0.02212.20360.81280.32160.81290.3212 P3EV00.05333.28321.34230.48851.34230.48850.10053.45551.46520.48211.46520.4821 LCVaR(0.95)-0.26490.2322-0.12880.07530.13370.0665-0.16550.1359-0.07590.04400.07860.0389 CVaR(0.975)-0.27240.1938-0.14450.07040.14690.0655-0.16270.1053-0.08320.03910.08440.0366 TS-0.29190.6962-0.00050.15440.12450.0914-0.21630.4185-0.00070.09310.07460.0557 EV-0.15141.5090.43070.25620.43290.2524-0.02212.20360.81280.32160.81290.3212 P3EV00.05333.28141.3420.48821.3420.48820.10053.45471.46490.48191.46490.4819 MCVaR(0.95)-0.26690.2289-0.13130.07510.13570.0668-0.16530.1361-0.07580.04400.07850.0389 CVaR(0.975)-0.27110.1962-0.14270.07060.14580.0650-0.16190.1065-0.08230.03910.08350.0365 TS-0.29070.6972-0.00040.15410.12420.0912-0.21630.4185-0.00070.09310.07460.0557 EV-0.15141.51880.43200.25730.43420.2534-0.02212.20770.81390.32230.81410.3219 P3EV00.05333.32551.3520.49501.3520.49500.10053.48471.47310.48621.47310.4862 HCVaR(0.95)-0.26180.2371-0.12500.07550.13130.0656-0.16550.1359-0.07600.04400.07870.0389 CVaR(0.975)-0.26900.1990-0.14060.07060.14420.0645-0.15960.1100-0.07950.03930.08100.0363 TS-0.39420.5449-0.00050.14010.11250.0835-0.35390.4963-0.00050.12390.09930.0741 EV-0.27001.01050.28510.19150.30090.1748-0.10110.89780.29810.14490.30380.1383 P4EV0-0.07361.25320.47180.19810.47820.1907-0.04151.29310.51600.19270.52050.1871 LCVaR(0.95)-0.42180.2448-0.16080.10100.16730.0901-0.32170.1949-0.11430.07600.12040.0664 CVaR(0.975)-0.42640.2146-0.17780.09730.18170.0902-0.32250.1629-0.12840.07130.13170.0655 TS-0.39420.5306-0.00050.13890.11160.0827-0.35740.4961-0.00050.12490.10010.0747 EV-0.27000.98350.28080.18870.29700.1718-0.10160.89530.29720.14450.30300.1378 P4EV0-0.07361.22780.46820.19570.47480.1881-0.04211.28850.51470.19200.51920.1864 MCVaR(0.95)-0.42390.2441-0.15780.10210.16470.0904-0.31930.1990-0.11100.07620.11810.0658 CVaR(0.975)-0.42670.2247-0.16850.09960.17450.0900-0.32430.1551-0.13290.07040.13530.0657 TS-0.39470.5325-0.00050.13950.11200.0831-0.35530.4945-0.00050.12450.09980.0745 EV-0.27060.98720.28220.18970.29860.1727-0.10160.89920.29830.14510.30410.1384 P4EV0-0.07361.23650.47090.19720.47730.1896-0.04181.29830.51780.19340.52220.1879 HCVaR(0.95)-0.42180.2488-0.15570.10250.16330.0901-0.31930.1902-0.11590.07490.12110.0662 CVaR(0.975)-0.42440.2198-0.17170.09850.17630.0903-0.31940.1596-0.12890.07040.13170.0651 Table4:Uniformdistribution-comparisonbetween24differentinstances

Riferimenti

Documenti correlati

A noticeable decrease in stresses from operational loads, obtained with considering the temperature inhomogeneity of concrete, allows reducing the amount of pre-compression p ,

Environmental trends in shaping housing areas , also include shaping urban spatial development and lead to seeking for solutions that improve the quality of

Allo steso tempo sono un pezzo di quel collage che compone nel romanzo il ritratto cubista, per pezzi o a pezzi, di Jacob, proprio come i ritratti cu- bisti di Picasso. In questo

Notation

The best known set of sufficient conditions for its validity are due to Mirrlees and Rogerson and require that the distribution function is convex in effort and has a likelihood

Even if (P) is a fractional optimal control problem with a finite horizon, affine integrands and linear dynamics, to solve it we cannot directly use the standard optimal control