Warning

This page is located in archive.
Go to the latest version of this course pages.
Go the latest version of this page.

- Data: warehouse data

A company serves a group of geographically distributed customers, where each demands a certain amount of goods to buy. To cover all the customers efficiently, the company decides to build a network of warehouses. There are a number of locations where to open the warehouses, each location having its capacity.

The goal is to assign customers to warehouses so that the customers are served in the most efficient way.

**Input**:

*N*warehouses, each warehouse*w*has its capacity <latex>$cap_w$</latex> and the set-up cost <latex>$s_w$</latex>,*M*customers, each customer*c*demands certain amount of goods <latex>$d_c$</latex>,- For each pair <
*c*,*w*> a cost <latex>$t_{cw}$</latex> for delivering the goods from $w$ to $c$ is defined.

**Output**: Assignment of customers to warehouses such that the **uniform evaluation function** <latex>$f(x)=\sum_{w\in N}(I(|a_w|>0)\cdot s_w+\sum_{c\in a_w}t_{cw})$</latex> **is minimized**

subject to <latex>$\sum_{c\in a_w}d_c \leq cap_w$</latex> and <latex>$\sum_{w\in N}I(c\in a_w)=1$</latex> for all <latex>$c\in M$</latex>,

where <latex>$a_w$</latex> is a set of customers assigned to the warehouse *w* and <latex>$I(.)$</latex> is an indicator function (returns 1, if the argument is true, 0 otherwise).

- Array of size
*M*, where*i*-th value represents a number of the warehouse assigned to*i*-th customer. - Matrix A[MxN], where <latex>$A_{cw}\in \{0,1\}$</latex>; <latex>$A_{cw}= 1$</latex>, if the customer
*c*is assigned to the warehouse*w*, otherwise <latex>$A_{cw}= 0$</latex>. - …

courses/a0m33eoa/semestral_tasks/warehouse_layout.txt · Last modified: 2021/09/20 12:33 by xposik