Home > mpt > @polytope > reduce.m

reduce

PURPOSE ^

REDUCE Reduces the polytope by removing redundant inequalities

SYNOPSIS ^

function [P,keptrows]=reduce(P,Options,lambda)

DESCRIPTION ^

REDUCE Reduces the polytope by removing redundant inequalities

 [P,keptrows] = reduce(P,Options,lambda)

 ---------------------------------------------------------------------------
 DESCRIPTION
 ---------------------------------------------------------------------------
 [P,keptrows]=REDUCE(P,OPTIONS) computes the minimal representation of the 
 polytope P by eliminating all redundant constraints. The reduction of P is 
 implemented by solving one LP for each facet. 

 ---------------------------------------------------------------------------
 INPUT
 ---------------------------------------------------------------------------  
 P                     - Polytope
 Options.lpsolver      - LP solver to be used (see help mpt_solveLP)
 Options.abs_tol       - absolute tolerance
 Options.calculatebox  - Use a bounding box to discard certain hyperplanes a 
                         priori (1: use BoundingBox)
 lambda                - Optional: Set of lagrange multipliers from chebyball; 
                         If available, this speeds up the reduction procedure.

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

 ---------------------------------------------------------------------------
 OUTPUT
 ---------------------------------------------------------------------------
 P         - polytope in reduced description
 keptrows  - indices of hyperplanes which are non-redundand

 see also POLYTOPE, NORMALIZE

CROSS-REFERENCE INFORMATION ^

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