LinearDemandFunction.reset_cache

LinearDemandFunction.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.