Minimize function with multiple variables with absolute value

12 ビュー (過去 30 日間)
Trung Bui
Trung Bui 2020 年 4 月 20 日
編集済み: Matt J 2020 年 4 月 20 日
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.

回答 (1 件)

Matt J
Matt J 2020 年 4 月 20 日
編集済み: Matt J 2020 年 4 月 20 日
If e is positive, rewrite this as a linear program with additional unknowns ,

カテゴリ

Help Center および File ExchangeDynamic System Models についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by