How to Choose a Permanent Magnet?