Some problems of scalar and vector-valued optimization in linear viscoelasticity