Optimization and Mathematical Modeling in Computer Architecture