Raw rolls and/or sheets of flat sheet stock are charted by a processing system that generates charting patterns using constraint logic programming, that matches the charting patterns and available raw rolls and/or sheets of flat sheet stock, and that selects the optimal patterns from those matching charting patterns and available raw rolls and/or sheets using mixed integer linear programming.