-
Notifications
You must be signed in to change notification settings - Fork 5
Open
econ-ark/HARK
#1259Description
Related to #204
solve_distributed_agents calls solve() on each AgentType
SHARKFin/sharkfin/population.py
Lines 258 to 262 in cd70a7a
| def solve_distributed_agents(self): | |
| # see Market class for an example of how to solve distributed agents in parallel | |
| for agent in self.agents: | |
| agent.solve() |
When we have multiple AgentTypes 'per type' (i.e. num_per_type), this introduces unnecessary computation, because the same solution can be used across different AgentTypes.
Reactions are currently unavailable