Optimization of Markov jump linear system with controlled modes jump probabilities