Вы находитесь на странице: 1из 6

Investigacin de Operaciones

Dra. Jania Astrid Saucedo Martinez


Producto integrador
Ejemplo de problema de set packing

Derek Benjamin Rivera Avila 1629832


Daniel de Jess Urbano Salinas 1633190
Martin Jaramilllo Cuautle 1631966

Martes N5-N7
Contenido
1 Revision de la literatura................................................................................ 3
2 Un modelo analtico...................................................................................... 3
2.1 El modelo multicriterio.................................................................................. 3

1 Revision de la literatura
Tradicionalmente el empaquetado de paletas es un problema de embalaje
rectangular, ortogonal, donde las cajas se tienen que posicionar dentro de un
rectngulo o caja ms grande llamado el contenedor- En los rectngulos o cajas
sus lados son paralelos entre si, donde como objetivo se tiene empaquetar
tantas cajas como sea posible para minimizar el espacio perdido; se puede
decir que es una versin del problema de embalaje de la caja.

2 Un modelo analtico.

En las cajas de embalaje sobre una paleta, la superficie de la paleta se divide en celdas unitarias
de tamao uniforme, y el rea de base de cada caja se divide tambin en celdas del mismo
tamao uniforme. Para empacar una caja, las celdas de esa caja se asignan a las celdas de la
paleta. La clave es mantener las celdas de cada caja juntos. Para ello, se utiliz el mtodo B & W
para identificar celdas en una cuadrcula rectangular de paleta mediante una nica variable de
recuento i que tiene un valor de uno en la celda superior izquierda y aumenta a lo largo de la fila
hasta que la celda inferior derecha n, o i {1 ,..., n}.Este concepto se puede generalizar a
mltiples capas. La desviacin en volumen reemplaza la desviacin en altura en este caso.
Considera lo siguiente. Si se eligiera una caja que cubra menos superficie de la paleta sobre una
caja que cubra ms paletas simplemente porque la desviacin de altura para la primera caja era
menor que la segunda, esto podra conducir en ltima instancia a una menor eficiencia de
volumen. La razn es que al elegir la caja de rea de base ms pequea (pero ms alta) sobre la
caja de rea ms grande (pero ms corta), puede que una o ms celdas no estn cubiertas. Esta
rea descubierta representa un volumen de espacio desperdiciado que, cuando se combina con
cualquier espacio perdido sobre la caja en cuestin, podra ser mayor que el espacio
desperdiciado causado por la inclusin de la caja ms corta (rea de base ms grande). El mejor
resultado es una combinacin que minimiza el volumen desperdiciado, maximizando la cobertura
de rea e indirectamente minimizando la desviacin en altura a travs de un menor volumen
desperdiciado.

2.1El modelo multicriterio

El problema del empaquetado de paletas se formul de la siguiente manera,


manteniendo el primer criterio en la funcin objetivo y transformando la
segunda funcin de criterio en una limitacin. Esto se conoce como el
mtodo de regin factible reducida por restriccin (Steuer 1986).
p

min Z = Ak H k U K + ( M A ) H (7)
k=1
S.a:
n p
A= x ik (8)
i =1 k=1

Fig. 1 Una
paleta que consta de
nueve celdas.
xik x jk Pijk Nijk
Tabla 1 Valores de las variables
indicadoras en la frontera 0 0 0 0
1 0 1 0
0 1 0 1
1 1 0 0

x ik = AkUk k (9)
i =1
n
(Pi jk + Ni jk ) = 2Bk Uk k (10)
i =1 j Ti
xik x jk Pijk N ijk = 0 i, j Ti, k (11)
Pijk + Nijk 1 i, j Pi, k (12)
xik Pijk = 0 i, j Li, k (13)

xik 1 i (14)
k=1
x jk lk (1 rk) wkrk 0 r, k (15)
j Rr
x jk wk (1 rk) lkrk c, k (16)
jCc
0
xik, rk, Uk, Pijk, Nijk {0, 1} i, j Ti, k (17)

Donde las variables se definen a continuacin:


A El rea de la paleta cubierta por todas las cajas llenas
xik = {0, 1} Variable para indicar si la celda i est asignada a la casilla k
Uk = {0, 1} Variable para indicar si la casilla k est incluida en la solucin
P ijk , N ijk = Marcadores binarios de frontera entre celdas adyacentes i
y j para la casilla k; Los posibles valores de estos indicadores estn
determinados por los valores de xik y x jk segn laTabla 1.
rk = {0, 1} Para indicar si la casilla k se gira en la solucin.
Para todas las variables binarias, 1 significa s y 0 significa no.Here are the constants
defined in the model:
n = Nmero de celdas en la paleta.
p = Nmero de cajas disponibles para empacar.
Ak = area of box k
H = height of the tallest box to be packed
Hk = difference in height of box k from the tallest box available to be packed
M = total area of the pallet consisting of n cells
Bk = border length for box k
Ti = set of cells both physically and logically adjacent to cell i
Pi = set of cells physically adjacent to i
Li = set of cells logically adjacent to i
Rr = set of cells that are in row r, r {i,..., d}, where d is the number of rows on the
pallet
Cc = set of cells that is in column c, c {1,..., e}, where e is the number of columns
on the pallet
wk = width of box k
lk = length of box k.
Objective function (7) minimizes the sum of the wasted volume created above all of the
packed boxes in the first term, and wasted volume above the uncovered area in the
second term. Notice that these two types of wasted volumes are different. A total wasted
volume may be the same, but it could be made up of various combinations between these
two terms. We treat them as two separate criteria, since emphasizing one versus the other
will result in a different packing configuration. A solution is said to be a non-dominated
Pareto solution if it has fewer of either type of wasted space without compromising the
other type.
Constraint (8) defines the area A covered in the pallet, where each unit cell measures 1
by 1 in normalized dimension. The combination of the second term in Eq. (7) and Eq. (8)
results in maximizing the pallet-floor coverage. Constraint (14) ensures that each cell can
be covered by at most one box. Constraint (9) ensures that the number of cells covered
by box k is actually equal to the area of box k. Constraints (10) (13) define the
boundary of the occupied box in the pallet. These constraints ensure that the box will be
covered by contiguous cells and not disjoint or broken cells on the pallet. A cell is
physically contiguous to another if the two share a common border. For example, cell 1
is physically adjacent to cells 2 and 4 in Fig. 1. On the other hand, logical adjacency
comes from wrapping to the other side of the pallet. For example, cell 1 is logically
adjacent to cells 3 and 7 (if one can imagine folding the left border to meet the right
border, and folding the bottom border to meet the top border). The Pijk and N ijk
variables are used in determining if the edge of box k is on the border between cells i and
j . For each adjacent cell i , j pair, they can assume a value of either 0 or 1, as shown in
Table 1. Both Pijk and N ijk assume zero values if cells i and j are covered or not covered
by box k, as shown by the first row and last row of the Table. If cell i is covered by box
k and j is not, then Pijk equals 1, as shown by the second row. If j is covered by box k
and i is not, then Nijk equals 1 as shown by the third row.
Constraint (10) is the border constraint for each box placed on the pallet. The sum of
the Pijk and N ijk equals to twice the border length of box k. The factor of two comes
about since each border segment is counted twice, once for the Pijk and N ijk pair and
again for the P jik and N jik pair. Constraints (11) (13) ensure the proper definition of
the Pijk and N ijk variables. Constraints (15) (16) identify which row and column of
the pallet each box occupies.
This is accomplished by the introduction of Rr and Cc. For example, with the 3 by 3
pallet in Fig. 1, the following cells are in row 1: 1, 2, 3; or R1 = {1, 2, 3}. Similarly,
the following cells are in column 3: 3, 6, 9; or C3 = {3, 6, 9}. With the help of the
rotation binary variable, rk, these two constraints simply identify the cells that are
occupied row-wise to make up lk across, and column-wise to make up wk deep. All
together, they account for the length and width of the box to be packed.

Вам также может понравиться