CADETProcess.optimization.ResultsCache.set

CADETProcess.optimization.ResultsCache.set#

ResultsCache.set(key, value, tag=None, close=True)[source]#

Add entry to cache.

Parameters:
keyhashable

The key to retrieve the results for.

valueobject

The value corresponding to the key.

tagstr, optional

Tag to associate with result. The default is None.