Minimize function with multiple variables with absolute value

5 visualizaciones (últimos 30 días)
Trung Bui
Trung Bui el 20 de Abr. de 2020
Editada: Matt J el 20 de Abr. de 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.

Respuestas (1)

Matt J
Matt J el 20 de Abr. de 2020
Editada: Matt J el 20 de Abr. de 2020
If e is positive, rewrite this as a linear program with additional unknowns ,

Categorías

Más información sobre Linear Programming and Mixed-Integer Linear Programming en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by