Integrated SNAP and CVX