This invention relates to the field of flexible work shop scheduling technology, and discloses a multi-objective dynamic flexible work shop scheduling optimization method and apparatus. The method includes: constructing a flexible work shop scheduling model integrating multiple agent scheduling units; constructing a deep
reinforcement learning objective function for the multiple agent scheduling units, and transforming scheduling rules into constraints and weight coefficients; acquiring the
microgrid energy status, dynamic work queues, and real-time equipment status, defining flexible work shop state characteristic variables based on constraints, and embedding scheduling rules to construct a unified
state space; based on an improved near-end strategy optimization
algorithm, jointly training the multiple agent scheduling units using the
state space, and setting a multi-dimensional composite reward mechanism to guide the multiple agent scheduling units to achieve optimized scheduling in a dynamic environment. This invention can achieve autonomous, intelligent, low-carbon, and efficient scheduling of flexible work shops in environments with intermittent
renewable energy supply and frequent dynamic events within the work shop.