Modeling and Optimization of Block-Composable Mathematical Programs using Coopr.