Home > mpt > @polytope > isbounded.m

isbounded

PURPOSE ^

ISBOUNDED Checks if a polytope is bounded

SYNOPSIS ^

function status = isbounded(P,Options)

DESCRIPTION ^

ISBOUNDED Checks if a polytope is bounded

 status = isbounded(P,Options)

 ---------------------------------------------------------------------------
 DESCRIPTION
 ---------------------------------------------------------------------------
 STATUS = ISBOUNDED(P) returns TRUE (1) if P is a bounded polytope

 Check is performed using Minkowski theorem on polytopes.

 USAGE:
   isbounded(P)
   isbounded(P,Options)

 ---------------------------------------------------------------------------
 INPUT
 ---------------------------------------------------------------------------
 P                - polytope
 Options.abs_tol  - absolute tolerance
 Options.lpsolver - LP solver to use

 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

 see also ISFULLDIM

CROSS-REFERENCE INFORMATION ^

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