%==========================================================================
% File Name     : <FindActiveSets.m>
% Usage         : [iac,candidates] = FindActiveSets(sol, lam, A, b, EqS, isLP)
% Description   : This subroutine finds the active sets associated with the
% solution 'sol' and current active set 'ActiveSet' of a LP or QP problem.
% Note that in case there is an ambiguity regarding the active set, the
% second output 'Cand' reports all other possible candidate active sets.
%--------------------------------------------------------------------------
% Author        : Richard Oberdieck, Nikolaos A. Diangelakis
% Office        : Giesecke Engineering Research Building, Texas A&M, USA.
% Mail          : paroc@tamu.edu
%--------------------------------------------------------------------------
% Last Revision | Author  | Description
%---------------+---------+------------------------------------------------
% 21-Apr-2015   | RO      | Initial Version (based on findactivesetsMS)
%---------------+---------+------------------------------------------------
% 11-Aug-2015   | RO      | Final Version
%---------------+---------+------------------------------------------------
% 23-Nov-2015   | RO      | Introduction of 'Cand' output
%==========================================================================