当前位置:网站首页>[mathematical modeling summer training] location of distribution center
[mathematical modeling summer training] location of distribution center
2022-07-23 21:46:00 【Lydia.na】
List of articles
Problem description
Jointly owned by a province 92 Cities , City Location 、 label , See the annex for the data of highway transportation network 1.
An enterprise is in front of the provincial label 20 Cities in have established direct sales centers , Each direct sales center is responsible for the sales of the city , See the attachment for the sales volume 1. The enterprise wants to set up a distribution center in the province to be responsible for distributing products to the direct sales center , The construction cost of the distribution center is 30 Ten thousand yuan . Freight per ton kilometer 2 element , The sales profit per ton of product is 300 element .
Try to establish a mathematical model to analyze and study the following problems :
Symbol description
| Symbol | explain |
|---|---|
| d i j dij dij | Says from the first i City to city j City to distance |
| s j sj sj | It means the first one j Monthly sales of direct sales centers |
| pi={1,0} | 1: In the i Distribution centers have been established in cities 0: Not in the i Distribution centers have been established in cities |
| qi={1,0} | 1: In the j Distribution centers have been established in cities 0: Not in the j Distribution centers have been established in cities |
| aij={1,0} | 1: Distribution Centre i To the distribution center j Delivery 0: Distribution Centre i Do not deliver to the distribution center |
| cij={1,0} | 1: The first j The first direct selling center manages i Cities 0: The first j The first direct selling center does not manage i Cities |
Question 1
In order to reduce the cost of transportation , Which city should the distribution center be located in ?
Model : m i n ∑ j = 1 20 ( 2 ∗ d i j ∗ s j ) min\sum_{j=1}^{20}(2*d_{ij}*s_j) minj=1∑20(2∗dij∗sj)
Matlab Draw and solve 
answer :35
Question two
Please set a minimum cost for this enterprise 5 Annual product distribution plan : Several distribution centers should be set up 、 Where are they located ?
Model : m i n ∑ i = 1 92 ( 30 ∗ p i + ∑ j = 1 20 0.012 ∗ a i j ∗ d i j ∗ s j ) min\sum_{i=1}^{92}(30*p_i+\sum_{j=1}^{20}0.012*a_{ij}*d_{ij}*s_j ) mini=1∑92(30∗pi+j=1∑200.012∗aij∗dij∗sj)
lingo The answer is :
Question 3
If the enterprise considers to be 20 Location of direct sales centers , Please give the best 5 Annual product sales 、 Delivery plan .
m a x ( ∑ j = 1 92 ( 1.8 ∗ q j ∗ s j ) − ∑ i = 1 92 ( p i ∗ 30 + ∑ j = 1 20 0.012 ∗ a i j ∗ d i j ∗ s i j ) ) max(\sum_{j=1}^{92}(1.8*q_j*s_j)-\sum_{i=1}^{92}(p_i*30+\sum_{j=1}^{20}0.012*a_{ij}*d_{ij}*s_{ij} ) ) max(j=1∑92(1.8∗qj∗sj)−i=1∑92(pi∗30+j=1∑200.012∗aij∗dij∗sij))
The above constraint should be qj, dial the wrong number .
lingo solve 
Question 4
Suppose that customers in cities without direct sales centers buy products according to the principle of proximity , Please reconsider (3).
m a x ( ∑ j = 1 92 ( 1.8 ∗ q j ∗ s j ) − ∑ i = 1 92 ( p i ∗ 30 + ∑ j = 1 20 0.012 ∗ a i j ∗ d i j ∗ ( s j + c i j ∗ s i ) ) ) max(\sum_{j=1}^{92}(1.8*q_j*s_j)-\sum_{i=1}^{92}(p_i*30+\sum_{j=1}^{20}0.012*a_{ij}*d_{ij}*(s_j+c_{ij}*s_i) ) ) max(j=1∑92(1.8∗qj∗sj)−i=1∑92(pi∗30+j=1∑200.012∗aij∗dij∗(sj+cij∗si)))

lingo solve

Code
Reference article
0-1 Planned lingo solve
Location problem of mathematical programming
Distribution location center problem
边栏推荐
- 2022.7.22 js对象
- Construction and application progress of ten billion level knowledge map of meituan brain
- SQL injection attack
- Cluster chat server: Framework Design of model data layer and encapsulation of database code
- 北大清华2022年在各地录取人数排名
- 存储结构和管理盘。有点像装win98要先分区格式化硬盘
- 给定一个以数字组成的数组,实现输出id为数字,并且从小到大排序的name
- Synchro esp32c3 Hardware Configuration Information serial port Print Output
- Union and union all of Hana SQL
- [isprint function determines whether characters can be output]
猜你喜欢

U++ 学习笔记 控制物体Scale

Summary of database stress testing methods

Cluster chat server: how to solve the problem of cross server communication | redis publish subscribe

Cluster chat server: Framework Design of model data layer and encapsulation of database code

lambda學習(sort後面的Comparator的使用,collection後使用Collectors.groupingBy分組)

prime_ series_ level-1

Kuberntes云原生实战六 使用Rook搭建Ceph集群

Basic syntax of MySQL DDL and DML and DQL

合宙ESP32C3硬件配置信息串口打印輸出

U++学习笔记 TSubclassOf()
随机推荐
Still have 1 requests outstanding when connection from slaveX/X.X.X.X:33202 is closed
集群聊天服务器为什么引入负载均衡器
Practice data Lake iceberg lesson 37 kakfa write the enfour, not enfour test of iceberg's icberg table
SQLite数据库
Openlayers instance advanced view positioning advanced view positioning
What is Kai Niu? Excuse me, is it safe to open a stock account by mobile phone?
二分函数细节
[create birthday card application]
Basic character axis binding and mapping binding of u++ learning notes
ESP32 的 I2C 原理 & 应用入门
Union and union all of Hana SQL
机器学习习题——对率回归
集群聊天服务器:数据库表的设计
软件体系结构期末复习六十题
如何在 pyqt 中实现桌面歌词
Kuberntes云原生实战六 使用Rook搭建Ceph集群
Principle and implementation of hash table, unordered set and mapping
Leaderboard design in game server
&9 nodemon自动重启工具
[arXiv] notes on uploading papers for the first time