I want to find the minimum of the following function, using a linear solver in Matlab:
f = sum(((P * x - d)+|P * x - d|))*0.5*p)
x (dimension [ix1]) is binary, P (dimension [nxi]),d and p are always positive.
In other words:
if P*x => d
f = (P*x-d)*p
if P*x < d
f = 0
Is it possible to solve this problem with a linear Solver in Matlab (like linprog or cplexlp)?
I think the objective function looks non-linear as it has norms in it.
– fGDu94 May 14 '19 at 11:35