Related to #204
solve_distributed_agents calls solve() on each AgentType
|
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.
Related to #204
solve_distributed_agentscallssolve()on each AgentTypeSHARKFin/sharkfin/population.py
Lines 258 to 262 in cd70a7a
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.