matlab 函数帮助,MATLAB软件Linprog函数帮助.pdf
MATLAB软件Linprog函数帮助
Optimization Toolbox
linprog
Solve a linear programming problem
Equation
where f, x, b , beq, lb, and ub are vectors and A and Aeq are matrices.
Syntax
x = linprog(f,A,b)
x = linprog(f,A,b,Aeq,beq)
x = linprog(f,A,b,Aeq,beq,lb,ub)
x = linprog(f,A,b,Aeq,beq,lb,ub,x0)
x = linprog(f,A,b,Aeq,beq,lb,ub,x0,options)
[x,fval] = linprog(...)
[x,lambda,exitflag] = linprog(...)
[x,lambda,exitflag,output] = linprog(...)
[x,fval,exitflag,output,lambda] = linprog(...)
Description
linprog solves linear programming problems.
x = linprog(f,A,b) solves min f'*x such that A*x <= b.
x = linprog(f,A,b,Aeq,beq) solves the problem above while additionally
satisfying the equality constraints Aeq*x = beq . Set A=[] and b=[] if no inequalities
exist.
x = linprog(f,A,b,Aeq,beq,lb,ub) defines a set of lower and upper bounds
on the design variables, x, so that the solution is always in the range lb <= x <= ub.
Set Aeq=[] and beq=[] if no equalities exist.
x = linprog(f,A,b,Aeq,beq,lb,ub,x0) sets the starting point to x0. This
option is only available with the medium-scale algorithm (the LargeScale option is set
to 'off' using optimset). The default large-scale algorithm and the simplex
algorithm ignore any starting point.
x = linprog(f,A,b,Aeq,beq,lb,ub,x0,options) minimizes with the
optimization options specified in the structure options. Use optimset to set these
options.
[x,fval] = linprog(...) returns the value of the objective functionfun at the
solution x: fval =f'*x.
[x,lambda,exitflag] = linprog(...) returns a value exitflag that
describes the exit condition.
[x,lambda,exitflag,output] = linprog(...) returns a structure output
that contains information about the optimization.
[x,fval,exitflag,output,lambda] = linprog(...) returns a structure
lambda whose fields contain the Lagrange multipliers at the solution x.
Input Arguments
Function Arguments contains general descriptions of
matlab 函数帮助,MATLAB软件Linprog函数帮助.pdf相关推荐
- 线性规划问题的数学建模matlab,数学建模讲座之三——利用Matlab求解线性规划问题(linprog函数).ppt...
数学建模讲座之三--利用Matlab求解线性规划问题(linprog函数) 利用Matlab求解线性规划问题 线性规划是一种优化方法,Matlab优化工具箱中有现成函数linprog对如下式描述的LP ...
- 利用matlab求解线性规划,数学建模讲座之三利用matlab求解线性规划问题(linprog函数)...
数学建模讲座之三利用matlab求解线性规划问题(linprog函数) 利用利用 Matlab求解线性规划问题求解线性规划问题河北科技河北科技 大学大学*第第 1页页利用 Matlab求解线性规划问题 ...
- Matlab求解规划问题之 linprog函数
Matlab规划问题之 linprog函数 常用来求解单决策函数的规划问题,例题来自司守奎<数学建模算法与应用>第二版. 语法:[X,FVAL] = linprog(f,a,b,Aeq,B ...
- MATLAB中linprog函数的用法
1. 简介 linprog函数主要用来求线型规划中的最小值问题(最大值的镜像问题,求最大值只需要加个"-") 2. 算法结构及使用方法 针对约束条件为Ax=b或Ax≤b的问题 2. ...
- linprog函数各参数的含义
运筹学中经常会遇到线性规划问题,目标线性规划,对偶问题等,针对线性规划和对偶问题,可以直接MATLAB中的linprog函数来解决,linprog函数的原理类似于单纯形法 c=[-40 -30]; a ...
- matlab 矩阵线性规划,MATLAB求解线性规划(含整数规划和0-1规划)问题
对于这类线性规划问题,数学理论已经较为完善,可以有多种方法求解此类问题.但写这篇文章的目的并不是为了介绍数学理论,我们这里主要讲解如果利用工具求解这一类线性规划问题. 最著名,同时也是最强大的数学最优 ...
- matlab——利用intlinprog和linprog函数求线性规划问题最优解
函数简介 intlinprog和linprog都是matlab自带的两种函数,功能大体相同.都是用来求解线性规划问题的最优解,只是intlinprog用于求整数解而已. 线性规划问题 下图是一个线性规 ...
- matlab常用函数——软件常用函数
一.软件操作函数 1)命令窗口函数: clc:清空命令窗口,使用向上箭头翻看命令. open:打开文件,文本文件(*.doc),可执行文件(*.exe),图形文件(*.fig),超文本文件(*.htm ...
- matlab中的运算函数,基于Matlab软件的函数运算在实践中的应用
2017 年第 8 期 70 计算机应用技术信息技术与信息化基于 Matlab 软件的函数运算在实践中的应用 Applications of the Functional Operation in P ...
最新文章
- mac自带php7降级,MAC更新自带php版本到7.0
- 实际程序调用IndexWriter* writer = NULL
- JAVA BIO与NIO、AIO的区别
- 动态规划之最长公共子串
- [linux] 查看网络丢包信息
- 推荐文章:机器学习:“一文读懂机器学习,大数据/自然语言处理/算法全有了...
- HDU4349--Xiao Ming's Hope(数论)
- Element-UI-的登录页面_密码框---Element-UI工作笔记004
- 【题解】【A % B Problem(P1865)】-C++
- Redis 3.0正式版发布,正式支持Redis集群
- 全国计算机二级c题库在线,全国计算机二级c语言考试题库
- 《物联网Android程序开发案例式教程》Demo1:线性布局
- 中小型企业网络配置、基于企业网络方案的设计与实施
- 2020危险化学品经营单位安全管理人员作业考试题库及危险化学品经营单位安全管理人员理论考试
- java读取和写入txt_Java读取和写入txt文件
- Latex各种命令、符号、公式、数学符号、排版等
- [lighttpd]referer字段实现域名过滤及放行指定域名不走重定向
- 项目进度表:可应用于各行业中的项目进度管控
- GV7704中文资料 hd-vlc
- 基于Wallpaper Engine的html插件罗盘时钟实现及简易桌面替换