A continuous knapsack problem formulation for the robustness analysis of a polytope of polynomials