Mosek provided a concrete example of using the Huber loss function, Huber loss, which is great!
One problem I am trying to tackle is to use asymmetric loss, as described in the answer of asymmetric loss.
Simply speaking, instead of using a classic quadratic square error loss, the loss function becomes:
\begin{align}e &= y-y_{\text{predicted}}\\\text{loss} &= x\cdot x \cdot (\operatorname{sgn}(x) + a) \cdot(\operatorname{sgn}(x) + a).\end{align}
As you can see, the loss is not quadratic any more. The advantage of using some loss function, is that we can penalize under-estimate and over-estimate differently.
Can we somehow restructure the problem and make it solvable by Mosek (or other optimization tools)?