code: def performAction(self, action):
          
          self._lastAction = []
  
          # Markups chosen for each generator.
          actions = self._allActions[action]
  
          n = self.numOffbids * len(self.generators)
          markups = actions[:n]
          withholds = actions[n:]
  
  #        print "ALL ACTIONS:", self._allActions
  #        print "ACTIONS:", markups, withholds
  
          self._offbid(markups, withholds)
docs: Performs an action on the world that changes it's internal state.
              @param action: an action that should be executed in the Environment
              @type action: array: [int]