You are on page 1of 1

//example

n = 11; //number of departments


p = 4; //number of floors
ne = 1; //number of elevators

//departments area
beta = 8;
A = [3.06, 3.42, 3.20, 2.55, 3.42, 2.85, 3.42, 3.80, 2.88, 3, 3.06];
hf = 5.4;//height of the floors
wf = 5.4;//width of the floors

// 4; #elevator area
he = [2]; //height of the elevators
we = [2]; //width of the elevators
delta = 10;//vertical distance

cv = [[0,5,5,5,5,5,5,5,5,5,5],
[0,0,5,5,5,5,5,5,5,5,5],
[0,0,0,5,5,5,5,5,5,5,5],
[0,0,0,0,5,5,5,5,5,5,5],
[0,0,0,0,0,5,5,5,5,5,5],
[0,0,0,0,0,0,5,5,5,5,5],
[0,0,0,0,0,0,0,5,5,5,5],
[0,0,0,0,0,0,0,0,5,5,5],
[0,0,0,0,0,0,0,0,0,5,5],
[0,0,0,0,0,0,0,0,0,0,5],
[0,0,0,0,0,0,0,0,0,0,0]];

ch = [[0,1,1,1,1,1,1,1,1,1,1],
[0,0,1,1,1,1,1,1,1,1,1],
[0,0,0,1,1,1,1,1,1,1,1],
[0,0,0,0,1,1,1,1,1,1,1],
[0,0,0,0,0,1,1,1,1,1,1],
[0,0,0,0,0,0,1,1,1,1,1],
[0,0,0,0,0,0,0,1,1,1,1],
[0,0,0,0,0,0,0,0,1,1,1],
[0,0,0,0,0,0,0,0,0,1,1],
[0,0,0,0,0,0,0,0,0,0,1],
[0,0,0,0,0,0,0,0,0,0,0]];

f = [[0,342,0,0,322,0,0,0,0,0,0],
[0,0,838,0,220,0,0,0,0,0,461],
[0,0,0,829,0,0,0,0,0,0,0],
[0,0,0,0,461,0,0,0,0,0,0],
[0,0,0,0,0,439,0,259,532,680,438],
[0,0,0,0,0,0,474,0,0,0,0],
[0,0,0,0,0,0,0,0,0,0,0],
[0,0,0,0,0,0,0,0,27,0,0],
[0,0,0,0,0,0,0,0,0,231,0],
[0,0,0,0,0,0,0,0,0,0,658],
[0,0,0,0,0,0,0,0,0,0,0]];

You might also like