Text this: The hybrid algorithms in constrained optimization of the permanent magnet motors