1 Introduction
-
\(d_i\)—delivery price of all products from shop \(i\) to the customer;
-
\(p_{ij}\)—standard price of product \(j\) in shop \(i, p_{ij}=p_j\) if standard prices of product \(j\) are the same in all shops;
-
\(N_i\)—subset of products of the set \(N\) in shop \(i\) (eligible products for shop \(i\)), \(N_i\subseteq N\);
-
\(M_j\)—subset of shops in which product \(j\) can be bought (eligible shops for product \(j\)), \(M_j\subseteq M\);
-
\(S_i\)—subset of products selected by the customer in shop \(i\) (basket of shop \(i\), decision variable), \(N=\cup _{i=1}^m S_i\) and \(S_i\cap S_j=\phi , i\ne j\), for a feasible solution;
-
\(T_i(S_i)=d_i+\sum _{j\in S_i}p_{ij}\) - total delivery and standard price in shop \(i\) for a given set of products \(S_i\subseteq N_i\); if there is no ambiguity, notation \(S_i\) in \(T_i(S_i)\) can be omitted;
-
\(f_i(T)\)—discounting function for final price, a concave increasing differentiable or concave piecewise linear function of total delivery and standard price \(T\) in shop \(i\) at all points \(T>0, f_i(0)=0\).
2 Each shop may not have all products
2.1 Same standard prices
2.2 No discounts
3 Each shop has all products
3.1 Same standard prices
3.2 Proportional standard prices, piecewise linear discounts
4 Branch and Bound exact algorithm
5 Heuristics
Prod 1 | Prod 2 | ... | Prod \(n\)
| Delivery | |
---|---|---|---|---|---|
Shop 1 |
\(W-1\)
|
\(W-1\)
| ... |
\(W-1\)
| 0 |
Shop 2 | 0 | 0 | ... | 0 |
\(W\)
|
Products | Shops | G1 | G2 | PCS | PCS+ | B&B |
---|---|---|---|---|---|---|
2 | 10 | 30.99 | 30.77 | 53.69 | 34.22 | 30.53 |
3 | 10 | 48.34 | 48.17 | 84.17 | 53.80 | 47.60 |
4 | 10 | 57.97 | 57.93 | 103.03 | 64.11 | 56.54 |
5 | 10 | 68.07 | 68.10 | 119.85 | 74.63 | 66.22 |
6 | 10 | 83.54 | 82.87 | 146.46 | 90.22 | 80.41 |
7 | 10 | 99.30 | 98.01 | 169.08 | 107.02 | 94.57 |
8 | 10 | 104.91 | 105.11 | 176.85 | 110.66 | 98.47 |
9 | 10 | 118.80 | 119.56 | 194.41 | 125.44 | 111.82 |
10 | 10 | 127.46 | 129.42 | 205.60 | 136.68 | 120.41 |
11 | 10 | 140.22 | 139.03 | 235.38 | 148.45 | 128.02 |
12 | 10 | 158.00 | 156.07 | 251.98 | 163.43 | 142.26 |
13 | 10 | 167.01 | 168.40 | 255.19 | 174.71 | 152.10 |
14 | 10 | 178.27 | 178.18 | 283.84 | 186.49 | 160.96 |
15 | 10 | 184.68 | 188.83 | 292.74 | 195.59 | 168.60 |
2 | 20 | 31.45 | 31.04 | 57.29 | 33.35 | 30.86 |
3 | 20 | 42.71 | 42.16 | 80.25 | 47.03 | 41.49 |
4 | 20 | 57.25 | 55.63 | 104.11 | 64.40 | 55.10 |
5 | 20 | 70.86 | 69.96 | 129.98 | 78.41 | 67.97 |
6 | 20 | 83.16 | 81.86 | 153.77 | 92.04 | 79.38 |
7 | 20 | 95.93 | 95.16 | 183.04 | 102.26 | 90.64 |
8 | 20 | 106.69 | 107.47 | 206.19 | 112.64 | 100.82 |
9 | 20 | 112.98 | 112.64 | 213.00 | 121.93 | 105.62 |
10 | 20 | 128.02 | 129.38 | 250.51 | 134.43 | 119.72 |
11 | 20 | 137.04 | 137.41 | 255.22 | 143.81 | 124.39 |
12 | 20 | 147.93 | 151.11 | 279.03 | 158.33 | 136.35 |
13 | 20 | 169.80 | 172.89 | 316.73 | 180.45 | 156.18 |
14 | 20 | 175.73 | 176.19 | 310.30 | 184.69 | 158.80 |
15 | 20 | 184.48 | 185.42 | 342.62 | 192.21 | 163.76 |
2 | 30 | 35.05 | 34.23 | 59.91 | 37.17 | 34.08 |
3 | 30 | 43.32 | 42.46 | 79.06 | 48.11 | 42.10 |
4 | 30 | 55.04 | 53.93 | 109.89 | 60.11 | 52.59 |
5 | 30 | 65.82 | 65.88 | 131.69 | 71.95 | 63.76 |
6 | 30 | 80.60 | 77.92 | 148.62 | 85.20 | 76.10 |
7 | 30 | 93.59 | 91.79 | 184.30 | 101.36 | 87.81 |
8 | 30 | 103.23 | 102.37 | 211.37 | 111.97 | 96.79 |
9 | 30 | 116.54 | 118.14 | 240.84 | 127.22 | 109.16 |
10 | 30 | 128.86 | 130.79 | 241.40 | 139.31 | 120.84 |
11 | 30 | 139.30 | 141.14 | 271.44 | 150.68 | 129.00 |
12 | 30 | 149.33 | 150.99 | 301.28 | 156.97 | 136.83 |
13 | 30 | 169.24 | 170.06 | 329.62 | 180.69 | 152.67 |
14 | 30 | 176.25 | 177.83 | 349.03 | 183.10 | 158.26 |
15 | 30 | 179.76 | 183.80 | 357.24 | 193.08 | 162.60 |
Products | Shops |
\( \frac{G1}{B \& B}\) (%) |
\( \frac{G2}{B \& B}\) (%) |
\( \frac{PCS}{B \& B}\) (%) |
\( \frac{PCS+}{B \& B}\) (%) |
---|---|---|---|---|---|
2 | 10 | 101.51 | 100.80 | 175.89 | 112.10 |
3 | 10 | 101.56 | 101.20 | 176.83 | 113.02 |
4 | 10 | 102.52 | 102.45 | 182.22 | 113.38 |
5 | 10 | 102.79 | 102.83 | 181.00 | 112.70 |
6 | 10 | 103.89 | 103.06 | 182.14 | 112.19 |
7 | 10 | 105.01 | 103.64 | 178.80 | 113.17 |
8 | 10 | 106.53 | 106.73 | 179.59 | 112.37 |
9 | 10 | 106.25 | 106.93 | 173.87 | 112.19 |
10 | 10 | 105.86 | 107.49 | 170.76 | 113.51 |
11 | 10 | 109.53 | 108.61 | 183.87 | 115.97 |
12 | 10 | 111.07 | 109.71 | 177.13 | 114.88 |
13 | 10 | 109.80 | 110.71 | 167.78 | 114.87 |
14 | 10 | 110.75 | 110.70 | 176.34 | 115.86 |
15 | 10 | 109.54 | 112.00 | 173.63 | 116.01 |
2 | 20 | 101.91 | 100.57 | 185.63 | 108.07 |
3 | 20 | 102.95 | 101.63 | 193.42 | 113.35 |
4 | 20 | 103.90 | 100.97 | 188.94 | 116.88 |
5 | 20 | 104.26 | 102.92 | 191.23 | 115.36 |
6 | 20 | 104.77 | 103.13 | 193.72 | 115.95 |
7 | 20 | 105.84 | 104.99 | 201.95 | 112.82 |
8 | 20 | 105.82 | 106.60 | 204.52 | 111.72 |
9 | 20 | 106.97 | 106.64 | 201.67 | 115.44 |
10 | 20 | 106.93 | 108.07 | 209.24 | 112.28 |
11 | 20 | 110.17 | 110.46 | 205.18 | 115.61 |
12 | 20 | 108.50 | 110.83 | 204.65 | 116.13 |
13 | 20 | 108.72 | 110.70 | 202.79 | 115.54 |
14 | 20 | 110.66 | 110.95 | 195.40 | 116.30 |
15 | 20 | 112.65 | 113.22 | 209.22 | 117.37 |
2 | 30 | 102.86 | 100.45 | 175.81 | 109.08 |
3 | 30 | 102.89 | 100.85 | 187.81 | 114.29 |
4 | 30 | 104.66 | 102.55 | 208.95 | 114.29 |
5 | 30 | 103.23 | 103.33 | 206.54 | 112.85 |
6 | 30 | 105.91 | 102.39 | 195.28 | 111.95 |
7 | 30 | 106.58 | 104.54 | 209.89 | 115.43 |
8 | 30 | 106.65 | 105.76 | 218.37 | 115.68 |
9 | 30 | 106.76 | 108.23 | 220.63 | 116.54 |
10 | 30 | 106.63 | 108.23 | 199.77 | 115.28 |
11 | 30 | 107.98 | 109.41 | 210.42 | 116.80 |
12 | 30 | 109.14 | 110.35 | 220.19 | 114.72 |
13 | 30 | 110.86 | 111.40 | 215.91 | 118.36 |
14 | 30 | 111.37 | 112.37 | 220.55 | 115.70 |
15 | 30 | 110.55 | 113.03 | 219.70 | 118.75 |