Practical considerations in using model-based optimization for the scheduling and planning of batch/semicontinuous processes