-
yalmip
matlab用于求解规划问题的工具包
推荐把这个工具整合到matlab中去,这个工具是私人的,不过大家都可以免费下载使用。下载后,只要在matlab中添加路径就可以使用这工具箱。
正在吸引我的是,这个工具箱建立了一种新的数据类型,使所有规划问题都整合在一起。
举例如下:
已知非线性整数规划为:
Max z=x1^2+x2^2+3*x3^2+4*x4^2+2*x5^2-8*x1-2*x2-3*x3-x4-2*x5
s.t.
0<=xi<=99(i=1,2,...,5)
x1+x2+x3+x4+x5<=400
x1+2*x2+2*x3+x4+6*x5<=800
2*x1+x2+6*x3<=800
x3+x4+5*x5<=200
在matlab中输入 x=intvar(1,5);
f=[1 1 3 4 2]*(x .^2)-[8 2 3 1 2]*x F=set(0<=x<=99)
F=F+set([1 1 1 1 1]*x <=400)+set([1 2 2 1 6]*x <=800)+set(2*x(1)+x(2)+6*x(3)<=800)
F=F+set(x(3)+x(4)+5*x(5)<=200) solvesdp(F,-f)
double(f) 80199
double(x) 53 99 99 99 0
intvar(m,n):生成整数型变量;
sdpvar(m,n):生产变量;
solvesdp(F,f):求解最优解(最小值),其中F为约束条件(用set连接),f为目标函数
double:显示求解的答案
intvar,sdpvar,生成的变量可以像矩阵一样使用,如例题显示。
- 2010-01-29 15:29:17下载
- 积分:1
-
MATLABtutorial
傻瓜型matlab教程,手把手教你使用matlab。
(Fool matlab tutorial taught you how to use matlab.)
- 2013-10-08 17:29:29下载
- 积分:1
-
Whitenoisesequence
1.产生[0,1]均匀分布的白噪声序列
(1) 打印出前50个数 (2) 分布检验
(3) 均值检验 (4) 方差检验
(5) 计算相关函数 Bx(i),i=0,±1,±2,…, ±10
(1. Generated [0,1] uniformly distributed white noise sequence (1) print out the top 50 the number of (2) the distribution of test (3) the mean test (4) of variance test (5) calculating the correlation function Bx (i), i = 0 , ± 1, ± 2, ..., ± 10)
- 2008-05-31 22:31:48下载
- 积分:1
-
pso-with-limitation
带有速度限制和种群限制的粒子群优化算法程序。matlab编写。(Populations with speed limits and restrictions on particle swarm optimization algorithm. matlab prepared.)
- 2013-07-24 04:10:46下载
- 积分:1
-
BaseOnWaveLab2
基于Matlab的小波去噪程序,和大家共同讨论(based on Matlab wavelet denoising procedures, and to discuss common)
- 2007-03-28 09:58:33下载
- 积分:1
-
video_observe
一个matlab小程序,通过连续读取多幅图像创建一个视频,可以播放(a small procedure to read through a number of consecutive images to create a video playback)
- 2007-05-14 10:07:51下载
- 积分:1
-
ALTBOC
伽利略E5波段信号调制方式的设计与实现,Altboc_matlab仿真程序(Galileo E5 band signal modulation scheme design and implementation, Altboc_matlab Emulator)
- 2013-08-15 21:17:02下载
- 积分:1
-
MATLAB_GPS_SIMULATION
基于matlab的gps仿真,包括理论原理、仿真方法、仿真结果及其分析等(Based matlab gps Simulation, including the theoretical principles of simulation methods, simulation results analysis)
- 2013-04-09 21:43:39下载
- 积分:1
-
TDOAAOA
三维TDOA_AOA定位的扩展卡尔曼滤波仿真主程序(Three-dimensional TDOA AOA positioning extended Kalman filter simulation main program)
- 2011-12-19 19:35:42下载
- 积分:1
-
matlab_GUI
详细介绍了如何使用matlab处理图形图像,让你轻松掌握GUI,清楚如何操作(Described in detail how to use matlab handle graphic images, allows you to easily grasp the GUI clear how to operate)
- 2013-05-16 20:50:53下载
- 积分:1