source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/opt/yalmip/extras/@constraint/cut.m @ 37

Last change on this file since 37 was 37, checked in by (none), 14 years ago

Added original make3d

File size: 644 bytes
Line 
1function F = set(varargin)
2%CUT               Defines a cut constraint
3%   
4% The syntax for CUT is exactly the same as the
5% syntax for SET. In fact, the result from CUT is
6% a SET object.
7%
8% The difference between a ordinary constraint and
9% a cut constraint is that the CUT will not be used
10% in the solution of the upper bound problem in a
11% global solver, but only in the relxation for the
12% lower problem.
13%
14%    See also   SET
15
16switch nargin
17case 0
18    F = lmi;
19case 1
20    F = lmi(varargin{1});
21case 2
22    F = lmi(varargin{1},varargin{2});
23case 3
24    F = lmi(varargin{1},varargin{1},varargin{3});
25otherwise
26end
27   
28F = setcutflag(F);
Note: See TracBrowser for help on using the repository browser.