On the structural optimization in presence of base isolating devices