线性规划2
来源:互联网 发布:基础地理信息数据下载 编辑:程序博客网 时间:2024/06/06 09:18
Assignment Question :
Background Question Descripitopn:
Now assigned i people do the j works ,and every people must and only do the one work , the spended unit time is
If assigned the 1st people do the 1st work ,the unit time:
If assigned the 2st people do the 1st work,the unit time:
Similarly:
If assigned the 1st people do the 2st work ,the unit time:
so the constraint condition(约束条件) is :
*So The Math Module is
Economic Examples:
资产:property 资金:funding 收益:profit 风险:risk 损失率:loss rate 分散:dispersion 交易:trade 给定:given 购买:purchasing 存款:deposit
Question Description:
Now there are
When purchase
If n is 4,the below table show the related datas ( table 1)
table 1
Try design a scheme , use the given funding
Symbol Rules:
Basically Assumption:
- Assume
M equals 1 so that calculate conventionally; - The investment is more dispersive , the total is less
- The total risk is measured with the biggest in the
si n kinds ofsi is independentr0 is fixed- pure income and total risk is only influenced by
ri pi qi
Math Module Set Up:
1.Total Risk:
2.Purchase
So if purchase
3.The aim of module is the pure income will be max,and the toatal risk will be min:
4.
(1).Module 1: Fix risk level
(2).Module 2: If investor hope the total income will be at least
(3).Module 3 Investor hope find a satisfied result considering of income and risk loss at the same time , so we assign the risk and income weighting
%%The Modeule 1 of Matlab Mdule Solution:clc,cleara=0;hold onwhile a<0.05c=[-0.05,-0.27,-0.19,-0.185,-0.185];A=[zeros(4,1),diag([0.025,0.015,0.055,0.026])];b=a*ones(4,1);Aeq=[1,1.01,1.02,1.045,1.065];beq=1;LB=zeros(5,1);[x,Q]=linprog(c,A,b,Aeq,beq,LB);Q=-Q;plot(a,Q,'*r');a=a+0.001;endxlabel('a'),ylabel('Q')
- 线性规划2
- 线性规划
- 线性规划
- 线性规划
- 线性规划
- 线性规划
- 线性规划
- 线性规划
- 线性规划
- 线性规划
- 线性规划
- 线性规划
- 线性规划
- 线性规划
- 线性规划
- 线性规划
- 一般线性规划问题的2阶段单纯形算法
- 【线性规划与网络流24题 2】太空飞行计划
- oracle详解(查看表数据库,用户管理,权限设置)
- linux umask使用详解
- 差错掩盖算法:(1)基于RTP的FEC前向纠错算法简介
- 判断一个单链表是否有环,若有环,求进入环中的第一个节点
- 查询BOM相关性值方法
- 线性规划2
- oracle查看允许的最大连接数和当前连接数等信息
- 写给理工科人看的乐理(二)十二平均律与五线谱
- 简单计算器的C++实现
- Android开发:去掉Activity的头部标题栏及ActionBar
- LeetCode
- jQuery的ajax async同步和异步介绍
- 重载(Overload)和重写(Override)的区别
- mock2easy环境搭建