I know this.

f=p+q*inv_pos(c*x+d) you can refer to the CVX user’s guide

f=p+q*inv_pos(c*x+d)

right，I forget the sum sum(p+q*inv_pos(c*x+d))

sum

sum(p+q*inv_pos(c*x+d))