Using Excel’s Solver
Input design variables
q
Input objective function