Intelligent optimization and control system for accounting cost calculation based on reinforcement learning | Synapse