Legacy C++ code to run pdas with cplex as subproblem solver