On the use of Reduced Bases in Processes Optimization