SMS dit: Dynamic programming in chemical engineering and process control