Minimize function with multiple variables with absolute value

3 views (last 30 days)
Hello,
I have a function minimize
f(x1,x2,...,xn) = [d1*x1 + d2*x2 + ... + dn*xn] + [abs(x1) + abs(x2) + .... + abs(xn)] * e
( d and e is known)
with constrains A * x <= b.
Without the second part with absolute value of x, I can use intlinprog function and it works well.
Do you have any suggestion for the solution of minimize f ?
Thank you.

Answers (1)

Matt J
Matt J on 20 Apr 2020
Edited: Matt J on 20 Apr 2020
If e is positive, rewrite this as a linear program with additional unknowns ,

Categories

Find more on Linear Programming and Mixed-Integer Linear Programming in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!