Home > mpt > extras > control > optmerge > polyinnerball.m

polyinnerball

PURPOSE ^

CHEBYBALL_F Computes center and radius of the largest ball inscribed in a polytope

SYNOPSIS ^

function [xc,R,lambda] = chebyball_f(H,K,lpsolver)

DESCRIPTION ^

CHEBYBALL_F Computes center and radius of the largest ball inscribed in a polytope

 [xc,R,lambda] = chebyball_f(H,K,Options)

 ---------------------------------------------------------------------------
 DESCRIPTION
 ---------------------------------------------------------------------------
 Returns center and radius of a largest ball that can be inscribed in a polytope P

 NOTE: internal routine. Takes matrices H and K as input, not a polytope!

 ---------------------------------------------------------------------------
 INPUT
 ---------------------------------------------------------------------------
 H,K               - Matrices defining the polytope, i.e. Hx<=K
 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
 ---------------------------------------------------------------------------
 xc                - Center of Chebyshev's ball
 R                 - Radius of Chebyshev's ball
 lambda            - Set of lagrangian multipliers

 see also CHEBYBALL

CROSS-REFERENCE INFORMATION ^

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