📄 paralleloptimization.html.svn-base
字号:
/** \page ParallelOptimization Parallel OptimizationParallel optimization in OPT++ comes in a couple of different forms.The first occurs when traditionally serial methods, such as Newtonmethods, require finite-difference approximations to the gradientbecause analytic gradients are not available. In this setting, thegradient evaluations are performed speculatively and in parallel.This is done automatically when the parallel version of OPT++ isbuilt; however, there is some onus on the user who wants to takeadvantage of this capability. In particular, it is necessary toinitialize and finalize MPI and to set up file names or workingdirectories that prevent messy file I/O. The other form ofparallelism occurs when the optimization algorithms themselves areparallel. This occurs in three methods included in OPT++: paralleldirect search (PDS), a trust region-parallel direct search hybrid(TRPDS) and a generating set search method (GSS). Again, the parallelism is done automatically when theparallel version of OPT++ is built, but the user is required toperform a couple of tasks.The following examples demonstrate how to make use of the PDS andTRPDS methods. Furthermore, these examples demonstrate the stepsrequired to set up OPT++ to take advantage of its parallelcapabilities, whether it be for speculative finite-difference gradientcomputations or for a parallel optimization algorithm.Notes: We hope to hide the steps required to set up parallelism infuture releases. Also, if the function evaluation is parallel, itcurrently cannot be used together with OPT++ parallel capabilities.We will be adding support for multi-level parallelism in futurereleases.\section ParallelFragments Using a Parallel Optimization Method<ol> <li> \ref tstpds <li> \ref tsttrpds <li> \ref tstgss</ol><p> <a href="MethodsDoc.html">Next Section: Optimization Methods </a> |<a href="index.html">Back to Main Page</a> </p> Last revised <em> July 13, 2006</em> */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -