Previously, for multipoint optimization problems, we defined the objective function as the sum of drag coefficients at on-design points. We are now using a weighted integral to define an objective function for a multipoint optimization problem. The weighted integral represents the average drag over a range of Mach numbers and lift coefficients. A 'designer-priority' weighting function given by D allows the user to prioritize the range of Mach numbers and lift coefficients according to mission requirements. The trapezoidal quadrature rule is used to approximate the weighted integral. The objective function is defined as the approximation of the weighted integral given by: