Flexible optimization of industrial process systems