Text this: Agent-based conceptual development and optimization based on a genetic algorithm in water resource allocation