On a variational approach to optimization of hybrid mechanical systems. Azhmyakov, Vadim; Velazquez, Ruben — 2010 Mathematical Problems in Engineering