def METHOD_NAME(self):
    """Set members based using inventory.
    """
    Problem.METHOD_NAME(self)
    if self.startTime > self.endTime:
        raise ValueError("End time {} must be later than start time {}.".format(self.startTime, self.endTime))