Optimal production management when there is regime switching and production constraints | Synapse