Home > mpt > @polytope > le.m

le

PURPOSE ^

LE Checks if polytope P is a subset of polytope Q

SYNOPSIS ^

function status = le(P,Q,Options)

DESCRIPTION ^

LE Checks if polytope P is a subset of polytope Q

 status = le(P,Q,Options)

 ---------------------------------------------------------------------------
 DESCRIPTION
 ---------------------------------------------------------------------------
 STATUS = LE(P,Q) returns TRUE (1) if P<=Q (i.e. P is a subset of Q)

 USAGE:
   P<=Q
   le(P,Q)
   le(P,Q,Options)

 NOTE:
   If P is an empty polytope, the statement is always TRUE
   If Q is an empty polytope, the statement is always FALSE

 ---------------------------------------------------------------------------
 INPUT
 ---------------------------------------------------------------------------
 P,Q              - Polytopes
 Options.rel_tol  - relative tolerance
 Options.abs_tol  - absolute tolerance
 Options.lpsolver - LP solver to use (see help mpt_solveLP)

 Note: If Options is missing or some of the fields are not defined, the default
       values from mptOptions will be used

 ---------------------------------------------------------------------------
 OUTPUT                                                                                                    
 ---------------------------------------------------------------------------
 status           - Logical statement (true if P<=Q, false otherwise)

 see also GE, EQ, NE, LT, GT

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Thu 30-Mar-2006 10:26:47 by m2html © 2003