I need to make the output of a variable positive, for both negative and positive inputs.
Since I am using it in the linear optimization problem, no squares, self-division or self-multiplication is allowed.
Need a mathematical solution, No prebuilt functions of programming languages are allowed