Text this: Adaptable algorithms for performance optimization of dynamic batch manufacturing processes