| Overview | Group | Index | Concepts | 
The routine CPXgetsosinfeas computes the
 infeasibility of a given solution for a range of special ordered sets 
 (SOSs). The
 beginning and end of the range must be specified. This routine
 checks whether the SOS type 1 or SOS type 2 condition is satisfied but it
 does not check for integer feasibility in the case of integer
 variables. For each SOS, the infeasibility value returned is 0 (zero) 
 if the SOS condition is satisfied and nonzero otherwise.
Example
status = CPXgetsosinfeas (env, lp, NULL, infeasout, 0, CPXgetnumsos(env,lp)-1);
| env | A pointer to the CPLEX environment as returned by   | 
| lp | A pointer to a CPLEX problem object as returned by   | 
| x | The solution whose infeasibility is to be computed. May be NULL, in which case the resident solution is used.  | 
| infeasout | An array to receive the infeasibility value for each of the special ordered sets. This array must be of length at least (  | 
| begin | An integer indicating the beginning of the range of special ordered sets whose infeasibility is to be returned.  |