Text this: Reduction of dimensionality in dynamic programming-based solution methods for nonlinear integer programming