If you're asking about what it searches for, I can tell you that it finds the global maximum projected score given constraints such as position requirements and salary cap.
If you're asking about how it does it and why it's so fast, we can't tell you that (for obvious reasons).