These codes are used in the paper "Integration of Reinforcement Learning and Model Predictive Control to Optimize Semi-batch Bioreactor." All codes are written in Python 3.7.0 You may need the packages NumPy, TensorFlow, Casadi, and a few more. It contains a single Matlab code used only to make the figures from the data saved in "Plant data."
The paper has been accepted at AIChE Journal but has not been published yet. The content and detailed explanation of the codes can be founded: https://aiche.onlinelibrary.wiley.com/doi/10.1002/aic.17658 Please cite this article as doi: 10.1002/aic.17658, if you benefit from these codes.