Computes the cleared quantities for each offer/bid according
        to the dispatched output from the OPF solution.

def _clearQuantities(self):
        """ Computes the cleared quantities for each offer/bid according
        to the dispatched output from the OPF solution.
        """
        generators = [g for g in self.case.generators if not g.is_load]
        vLoads = [g for g in self.case.generators if g.is_load]

        for g in generators:
            self._clearQuantity(self.offers, g)

        for vl in vLoads:
            self._clearQuantity(self.bids, vl)