If I have a nested absolute value equation such as:
y = |||3x-2|-|8-7x|| -2|x+3||
where all terms in absolute values are linear, what is the complexity (Big -O) of the upper bound on the amount of "pieces" in the equivalent piecewise equation, in terms of the amount of absolute values, or nesting depth of absolute values?
Edit: I found a similar problem and solution here: Minimizing the sum of absolute values with a linear solver I'm wondering how the introduction of nested absolute values changes the answer. Edit2: I was planning on doing this to solve an optimization question where I minimize the max over n linear terms, like in the link, but polynomial time is required, so since my method is turning my optimization problem into exponentially many linear programming problems, I can't do this. Does the method in the link apply to nested absolute values?