Test if a convex set is bounded.
ts = S.isBounded
ts = isBounded(S)
S |
Any set derived from ConvexSet class, e.g. YSet or Polyhedron. Class: ConvexSet |
ts |
True if the convex set ![]() Class: logical Allowed values:
|
x = sdpvar(3,1);
F = [x>=0];
S = YSet(x,F);Check if the set is unbounded
S.isBounded
ans = 0
◀ | feval | grid | ▶ |
© 2010-2013 Colin Neil Jones: EPF Lausanne, colin.jones@epfl.ch
© 2010-2013 Martin Herceg: ETH Zurich, herceg@control.ee.ethz.ch