cut.m

来自「求解线性矩阵不等式简单方便--与LMI工具箱相比」· M 代码 · 共 32 行

M
32
字号
function F = cut(varargin)
%CUT Defines a cut constraint
%   
% The syntax for CUT is exactly the same as the
% syntax for SET. In fact, the result from CUT is
% a SET object.
%
% The difference between a ordinary constraint and 
% a cut constraint is that the CUT will not be used
% in the solution of the upper bound problem in a
% global solver, but only in the relxation for the 
% lower problem.
%
%    See also   SET

% Author Johan L鰂berg 
% $Id: cut.m,v 1.1 2006/08/10 18:00:19 joloef Exp $


switch nargin
case 0
    F = lmi;
case 1
    F = lmi(varargin{1});
case 2
    F = lmi(varargin{1},varargin{2});
case 3
    F = lmi(varargin{1},varargin{1},varargin{3});
otherwise
end
    
F = setcutflag(F);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?