Home > mpt > @polytope > isredundant.m

isredundant

PURPOSE ^

ISREDUNDANT Check if a constraint is redundant

SYNOPSIS ^

function [how] = isredundant(P,row,Options)

DESCRIPTION ^

ISREDUNDANT Check if a constraint is redundant

 [how] = isredundant(P,row,Options)

 ---------------------------------------------------------------------------
 DESCRIPTION
 ---------------------------------------------------------------------------
 Check if constraint defined by f*x<=g (f=P.H(row,:), g=P.K(row)) is redundant.

 ---------------------------------------------------------------------------
 INPUT
 ---------------------------------------------------------------------------
 P                - Polytope
 row              - index of a row in P.H
 Options.abs_tol  - absolute tolerance
 Options.lpsolver - LP solver to be used (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                                                                                                    
 ---------------------------------------------------------------------------
 how   = 1 (TRUE) redundant
       = 0 (FALSE) non-redundant
       = 2 empty polyhedron.

 see also REDUCE

CROSS-REFERENCE INFORMATION ^

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