本人用matlab计算泡点温度和组成,使用fsolve求解两个相平衡方程,开始气相理想,液相用wilson方程,可以求解,但气相使用SRK方程后却无法找到解,出现以下内容:
Warning: Trust-region-dogleg algorithm of FSOLVE cannot handle non-square systems; using Levenberg-Marquardt
algorithm instead.
我在option中设置options=optimset('Display','iter','NonlEqnAlgorithm','lm','LevenbergMarquardt','on');
提示:Warning: Option NonlEqnAlgorithm will be ignored in a future release. Running the Levenberg-Marquardt
algorithm. To run the Levenberg-Marquardt algorithm without this warning, set option Algorithm to
'levenberg-marquardt' instead.
请问高手如何修改?谢谢 |