当前位置:网站首页>[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
边栏推荐
- Serveur de chat de Cluster: conception de la table de base de données
- prime_ series_ level-1
- Customer exit variable in query
- Day109.尚医通:集成Nacos、医院列表、下拉列表查询、医院上线功能、医院详情查询
- Euclidean clustering (API) and its single tree segmentation
- Is it safe to open a securities account online?
- U++ 事件
- Golang invalid argument to intn报错的解决
- 合宙ESP32C3硬件配置信息串口打印輸出
- Bisection function details
猜你喜欢

Neo4j应用

大学数据库创建与查询实战——数据库表设计

05_ UE4 advanced_ Material UV scaling

性能测试知识应用于实战

A stack of digital robots were selected in Gartner's China AI market guide

Apprentissage Lambda (utilisation du comparateur après tri, regroupement après collecte avec collectors.groupingby)

集群聊天服务器:Model数据层的框架设计和数据库代码的封装

query中的customer exit客户出口变量

prime_ series_ level-1

Kuberntes cloud native combat VI uses rook to build CEPH cluster
随机推荐
Complete set of official openlayers instances
prime_ series_ level-1
SQLite database
pulsar开源消息队列_了解Pulsar---Pulsar工作笔记001
Improving performance with explicit rendering
C——文件
给定一个以数字组成的数组,实现输出id为数字,并且从小到大排序的name
2022.7.22 js对象
机器学习习题——对率回归
googletest
Practice data Lake iceberg lesson 37 kakfa write the enfour, not enfour test of iceberg's icberg table
H264 encoding parameters
Mysql database index
2022.7.22 JS object
DBSCAN点云聚类
Cesium core class viewer viewer details
大淘营批量采集商品,如何将未上传的宝贝保存下来等后面再导入采集上传
大学数据库创建与查询实战——数据库表设计
googletest
05_ UE4 advanced_ Material UV scaling