Hello every one, I have a question related to approximation of functions based on norms
조회 수: 2 (최근 30일)
이전 댓글 표시
How can I approximate this function and its constraint using L1, L2, and L∞ to perform the optimization process using fmincon MATLAB function?
Objective function F*w+f=min
Subject to F*w+f ≥b
F is a matrix (7x35)
f is a vector (7x1)
b is the vector (7x1)
w is the vector of parameters needed for optimization (35x1)
댓글 수: 0
채택된 답변
Matt J
2020년 11월 14일
You would not use fmincon. For L1, you could use minl1lin
For L2, you would use lsqlin,
For L-infinity, you would use fminimax,
댓글 수: 4
추가 답변 (1개)
Bruno Luong
2020년 11월 14일
l1 and linfinity can be formulate as linear programming, so LINPROG is better.
댓글 수: 4
Matt J
2020년 11월 14일
The first constraint in Ahmed's addendum is non-convex. It looks difficult to recast that as a linear program.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!