Problem with Constrained Optimization with nonlinear constraints
1 次查看(过去 30 天)
显示 更早的评论
Hello,
I am trying to do the following constrained optimization in matlab using the fmincon and nonlinear constraint.
max μ'*x
subject to A*x ≤ b
x'*Σ*x ≤ s
μ'*x + inv(F(x)(0.05))*sqrt(x'*Σ*x) ≥ −β
-1 ≤ x ≤ 1
The x is a (3x1) matrix. The problem is that the fmincon cannot find any feasible solution that is satisfying the constraints. Is it because the x is a vector and not a scalar?
Any reply would be appreciated!
Thank you in advance, Porfyria
0 个评论
采纳的回答
Alan Weiss
2013-1-11
fmincon handles vector arguments such as x. This section of the documentation gives suggestions for dealing with the case when fmincon cannot find a feasible point.
Alan Weiss
MATLAB mathematical toolbox documentation
2 个评论
Alan Weiss
2013-1-11
I'm sorry, I do not understand what you mean. For the values of A and b and x that you give,
A*x = -2.9979 ≤ b.
And the bounds lb ≤ x ≤ ub are satisfied. So what is the problem?
Alan Weiss
MATLAB mathematical toolbox documentation
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Problem-Based Optimization Setup 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!