Minimize function with multiple variables with absolute value

2 Ansichten (letzte 30 Tage)
Trung Bui
Trung Bui am 20 Apr. 2020
Bearbeitet: Matt J am 20 Apr. 2020
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.

Antworten (1)

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

Kategorien

Mehr zu Linear Programming and Mixed-Integer Linear Programming finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by