AffineDemandFunction.reset_cache

AffineDemandFunction.reset_cache(hard: bool = False) None

Reset cache values.

Parameters
hardbool, default=False

If False, valid flag of cached elements is set to False. If True, cached elements will be set to None.