%==========================================================================
% File Name     : <lsolver.m>
                                              
% Usage         : [sol, how, lambda, fval] = lsolver(c, A, b, x0, EqIdx)
   
% Description   : This function provides a link between MATLAB and several
 
% commercial solvers [CPLEX,NAG]. It provides the solution to the following
% optimization problem
                                                     
%     min_{x} c^T*x
                                                        
%     s.t.    Ax <= b
                                                      
% where x0 is the initial guess (optional). Note that the solver options
   
% set in 'OptionSet' are used. Additionally note that the polytope Ax <= b
 
% should be compact, otherwise unbounded solutions might result. You can
   
% check for unboundedness using the function 'Const2Bounds'.
               
%--------------------------------------------------------------------------
% 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
                                    
%---------------+---------+------------------------------------------------
% 17-Apr-2015   | RO      | New version for POP
                            
%---------------+---------+------------------------------------------------
% 25-May-2016   | RO      | Inclusing of objective function value
          
%==========================================================================
