Abstract: The article discusses the development and study of a new matrix-based hybrid genetic algorithm (MBHGA) for solving an agent-based model of firms’ behavior with controlled trade interactions.