cvxpy API changed; isolating cvxpy API behind an adapter