求助:matlab二次规划问题(quadprog函数)
运行quadprog函数后,出现如下警告:Warning: Large-scale method does not currently solve this problem formulation,
switching to medium-scale method.
> In quadprog at 242
In fun at 70
The system of equality constraints is consistent. Removing
the following dependent constraints before continuing:
30
The equality constraints are dependent.
The problem is badly conditioned; the solution may not be reliable.
The problem is badly conditioned; the solution may not be reliable.
The problem is badly conditioned; the solution may not be reliable.
The problem is badly conditioned; the solution may not be reliable.
The problem is badly conditioned; the solution may not be reliable.
The problem is badly conditioned; the solution may not be reliable.
The problem is badly conditioned; the solution may not be reliable.
The problem is badly conditioned; the solution may not be reliable.
The problem is badly conditioned; the solution may not be reliable.
The problem is badly conditioned; the solution may not be reliable.
The problem is badly conditioned; the solution may not be reliable.
The problem is badly conditioned; the solution may not be reliable.
The problem is badly conditioned; the solution may not be reliable.
The problem is badly conditioned; the solution may not be reliable.
The problem is badly conditioned; the solution may not be reliable.
The problem is badly conditioned; the solution may not be reliable.
The problem is badly conditioned; the solution may not be reliable.
The problem is badly conditioned; the solution may not be reliable.
Maximum number of iterations exceeded; increase options.MaxIter.
To continue solving the problem with the current solution as the
starting point, set x0 = x before calling quadprog.
但仍能得出结果,
问:结果有效吗?
补充: = quadprog(H,f,A,b,Aeq,beq,lb,ub);
其中,H:135*135
A:14*135
Aeq:30*135
感觉不算大呀!
而且几秒钟就运行完啦!
请帮忙分析一下,哪出了问题,谢谢! 函数用的不太正确,看提示
switching to medium-scale method. 谢谢楼上
-----------------------------------------------
exitflag =
0
output =
iterations: 200
algorithm: 'medium-scale: active-set'
firstorderopt: []
cgiterations: []
message:
lambda =
lower:
upper:
eqlin:
ineqlin:
---------------------------------------
系统似乎已经自动转换到了 medium-scale method
问题貌似出在这儿了:
exitflag =
0 :Number of iterations exceeded options.MaxIter.
该怎么解决?
请赐教
谢谢 The system of equality constraints is consistent. Removing
the following dependent constraints before continuing:
30
The equality constraints are dependent.
The problem is badly conditioned; the solution may not be reliable
约束条件中可能存在问题
页:
[1]