problem.getbasis
| problem.getbasis | 
  Purpose
 
  Returns the current basis into the user's data arrays.
 
  Synopsis
 
 problem.getbasis (rstatus, cstatus) 
 
  Arguments
 
| 
     rstatus 
     | 
     Array of length
     ROWS to the basis status of the slack, surplus or artificial variable associated with each row. The status will be one of:
     
 
     May be
     None if not required.
     | ||||||||
| 
     cstatus 
     | 
     Array of length
     COLS to hold the basis status of the columns in the constraint matrix. The status will be one of:
     
 
     May be
     None if not required.
     | 
  Example
 
 The following example minimizes a problem before saving the basis for later:
 
rstatus = [] cstatus = [] p.lpoptimize () p.getbasis (rstatus, cstatus)
  Related topics
 
 
