|
程序运行结果
Warning: Large-scale (trust region) method does not currently solve this type of problem,
switching to medium-scale (line search).
Maximum number of function evaluations exceeded;
increase OPTIONS.MaxFunEvals
请问 fmincon(@tran,x0,A,b,aeq,beq,lb,ub,@nonlin,options) ,我在optimset函数中增加了MaxFunEvals的参数值,,如果此参数值设置的很大运行很耗时,大概要20分钟左右,但最终还是此错误,我想是不是算法选择错误,用的序列二次规划[1x44 char],Large-scale 又不能在这儿用,应该选择那种算法,改什么参数?希望高手指点,在此先谢过了! |
|