Optimization and Machine Learning Frameworks for Complex Network Analysis