| Overview | Group | Index | Concepts | 
The routine CPXsolninfo accesses solution
 information produced by the routines CPXlpopt,
 CPXprimopt, 
 CPXdualopt,
 CPXbaropt, 
 CPXhybbaropt,
 CPXhybnetopt, 
 CPXqpopt,
 and CPXfeasopt. This information
 is maintained until the CPLEX problem object is freed via a call to
 CPXfreeprob or the solution is rendered invalid because of a
 call to one of the problem modification routines.
The arguments to CPXsolninfo are pointers to locations
 where data are to be written. Such data can include the optimization method
 used to produce the current solution, the type of solution available, and
 what is known about the primal and dual feasibility of the current solution.
 If any piece of information represented by an argument to
 CPXsolninfo is not required, a NULL pointer can
 be passed for that argument.
Example
 status = CPXsolninfo (env, lp, &solnmethod, &solntype,
                      &pfeasind, &dfeasind);
 | env | A pointer to the CPLEX environment as returned by   | 
| lp | A pointer to a CPLEX problem object as returned by   | 
| solnmethod_p | A pointer to an integer indicating the method used to produce the current solution. The specific values which   | 
| solntype_p | A pointer to an integer variable indicating the type of solution currently available. Possible return values are   | 
| pfeasind_p | A pointer to integer variables indicating whether the current solution is known to be primal feasible. Note that a false return value does not necessarily mean that the solution is not feasible. It simply means that the relevant algorithm was not able to conclude it was feasible when it terminated.  | 
| dfeasind_p | A pointer to integer variables indicating whether the current solution is known to be dual feasible. Note that a false return value does not necessarily mean that the solution is not feasible. It simply means that the relevant algorithm was not able to conclude it was feasible when it terminated.  | 
See also the topic Interpreting Solution Statistics in the ILOG CPLEX User's Manual for information about how CPLEX determines primal or dual infeasibility.