NelderMeadSolver最大化 [英] NelderMeadSolver maximization

查看:120
本文介绍了NelderMeadSolver最大化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


有人能告诉我如何用Nelder Mead做最大化吗?我的意思是除了破解函数以返回负值并破解结果。 


哦和微软,你提供免费的Solver Foundation非常棒,但有些文档可能会有用。 


 谢谢,


  Tim

解决方案

Pass" false"对于AddGoal方法中的第三个参数:


http://msdn.microsoft.com/en-us/library/microsoft.solverfoundation.solvers.unconstrainednonlinearmodel.addgoal(v = vs.93)的.aspx


Nate


PS MSDN文档的根目录在这里:


http://msdn.microsoft.com/en-us/library/ff524509(v=vs.93)的.aspx


Hi all,

Can somebody tell me how to do maximization with Nelder Mead? I mean beyond hacking the function to return negative values and hacking the result. 

Oh and Microsoft, it's fantastic that you provide Solver Foundation for free and all, but some documentation might be useful. 

  Thanks,

  Tim

解决方案

Pass "false" for the third parameter in the AddGoal method:

http://msdn.microsoft.com/en-us/library/microsoft.solverfoundation.solvers.unconstrainednonlinearmodel.addgoal(v=vs.93).aspx

Nate

PS the root of the MSDN documentation is here:

http://msdn.microsoft.com/en-us/library/ff524509(v=vs.93).aspx


这篇关于NelderMeadSolver最大化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆