CVX: Matlab Software for Disciplined Convex Programming
2015-06-25 16:23
190 查看
http://cvxr.com/cvx/
CVX is a Matlab-based modeling system for convex optimization. CVX turns Matlab into a modeling language, allowing constraints and objectives to be specified using standard Matlab expression syntax. For example, consider the following convex optimization model:
The following
code segment generates and solves a random instance of this model:
CVX is a Matlab-based modeling system for convex optimization. CVX turns Matlab into a modeling language, allowing constraints and objectives to be specified using standard Matlab expression syntax. For example, consider the following convex optimization model:
The following
code segment generates and solves a random instance of this model:
m = 20; n = 10; p = 4; A = randn(m,n); b = randn(m,1); C = randn(p,n); d = randn(p,1); e = rand; cvx_begin variable x(n) minimize( norm( A * x - b, 2 ) ) subject to C * x == d norm( x, Inf ) <= e cvx_end
相关文章推荐
- matlab使用imhist、plot、fill画可填充颜色连续直方图
- Matlab中判断两个矩阵是否相等
- Matlab中plot函数全功能解析
- Matlab数值计算差商与插值
- matlab乘与点乘的区别 (*与.* ^与.^)
- matlab中用imshow()显示double类型图像中出现的问题
- matlab中norm函数的用法
- matlab echo 的用法
- 实验二:FFT算法的MATLAB实现
- 实验一 离散时间序列卷积和MATLAB实现
- Huffman编码用MTLAB的实现及编码注释----------Matlab
- MIMO信道容量及注水算法---------Matlab
- MATLAB实用源代码
- 协方差,方差,期望的意义
- matlab中sum()求和函数
- PCA ( 主成分分析) 详解 ( 写给初学者) 结合matlab
- Matlab常用函数流水账
- 几种简单常用的镜头边缘检测算法(matlab实现)
- matlab中 tic,toc函数的用法
- 利用MATLAB绘制信号时域波形和信号的频谱