Closed sbenthall closed 3 months ago
Definition of an objective function that should be maximized by the agent. Maybe the category should be "objective" or something like that rather than "optimality". We should consult Pablo on this.
On Tue, Nov 17, 2020 at 6:50 PM Sebastian Benthall notifications@github.com wrote:
Roger that. What does 'optimality' refer to in general? A function to be optimized?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/econ-ark/HARK/issues/798#issuecomment-729283464, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKCK75T7KNHVAHBPFHYFPDSQMD5LANCNFSM4P632Z4A .
--
I have another question about the design of frames.
Control variables may be subject to bounds that functions of other state variables.
https://dolo.readthedocs.io/en/latest/model_specification.html#boundaries
In @llorracc 's examples in this thread, which I'm working from, it's not clear where the bounds are specified.
My intuition is:
What I'm unclear about is how a frame-specific constraint would impact the complexity of a frame's solution problem, and whether these constraints are any impediment to the composability of frame solutions in backwards induction.
The
PerfForesightConsumerType
has twopoststate_vars
:aNrmNow
andpLvlNow
https://github.com/econ-ark/HARK/blob/master/HARK/ConsumptionSaving/ConsIndShockModel.py#L1450However
pLvlNow
is set in getStates(): https://github.com/econ-ark/HARK/blob/master/HARK/ConsumptionSaving/ConsIndShockModel.py#L1665...and not in getPostStates(). Rather,
aLvlNow
is updated as a poststate in the code: https://github.com/econ-ark/HARK/blob/master/HARK/ConsumptionSaving/ConsIndShockModel.py#L1706Correcting the
poststate_var
field to listaLvlNow
instead ofpLvlNow
raises anAttributeError
. I guess this is because the class is depending on the automatic initialization of the poststates, to create the attribute.