The moment you have hard business rules and constraints that make the structure complicated, that seems to be where neural networks fail. When you have rules and constraints (or already have a well-defined algorithm), you already have a model and are less interested in patterns.