Optimization-driven framework to understand health care network costs and resource allocation