Can't perform the operation: {positive constant} ./ {real affine}

there have two ways
1:use slack variable ,define t=1/x,then add constrain t>=1/x;
2:Please refer to:Minimize log(1+1/x) where 0<x<inf
pleas read it carefully.