code: def run(self):
          
          # Compute cleared offer/bid quantities from total dispatched quantity.
          self._clearQuantities()
  
          # Compute shift values to add to lam to get desired pricing.
  #        lao, fro, lab, frb = self._first_rejected_last_accepted()
  
          # Clear offer/bid prices according to auction type.
          self._clearPrices()
  #        self._clear_prices(lao, fro, lab, frb)
  
          # Clip cleared prices according to guarantees and limits.
          self._clipPrices()
  
          self._logClearances()
  
          return self.offers, self.bids
docs: Clears a set of bids and offers.