Integrated design of structural and control systems with a homotopy like iterative method