%==========================================================================
% File Name     : <Const2Bounds.m>
                                         
% Usage         : [Xmin, Xmax, Points] = Const2Bounds(A, b)
                
% Description   : Based on a set of inequalities Ax <= b, this function
    
% calculates the bounds Xmin and Xmax of each variable involved. If the
    
% variable is unbound, then the corresponding value is set to -Inf or Inf.
 
% The last output gives out the points of each vertex found by solving the
 
% LP problems.
                                                             
%--------------------------------------------------------------------------
% Author        : Richard Oberdieck, Nikolaos A. Diangelakis, 
             
%                 Efstratios N. Pistikopoulos
                              
% Office        : Engineering Research Building, Texas A&M University, USA
 
% Mail          : paroc@tamu.edu
                                           
%--------------------------------------------------------------------------
% Last Revision | Author  | Description
                                    
%---------------+---------+------------------------------------------------
% 01-Apr-2015   | RO      | Initial Version
                                
%==========================================================================
