This paper demonstrates a method that can be used to combine topology optimization with optimization of the boundary conditions. The method utilizes design of experiments and surrogate models to model how the boundary conditions affect the potential mass of the component. A demonstration of the method is made by applying it to design an airplane component and comparing the result to other approaches. The best design is then manufactured using additive manufacturing to verify that it is feasible.