Low level interface function to the IBM ILOG CPLEX function
  CPXgetstat.  Consult the IBM ILOG CPLEX documentation for
  more detailed information.
getStatCPLEX(env, lp)An object of class "'>cplexPtr" as returned by
    openEnvCPLEX. This is basically a pointer to an
    IBM ILOG CPLEX environment.
An object of class "'>cplexPtr" as returned by
    initProbCPLEX. This is basically a pointer to an
    IBM ILOG CPLEX problem object.
A single integer value giving the solution status.
Interface to the C function getStat which calls the CPLEX
  function CPXgetstat.
The IBM ILOG CPLEX home page at https://www.ibm.com/support/knowledgecenter/SSSA5P.
cplexConstants section “Values returned for stat
  by solution”.