美文网首页
NLopt的Gradient-based versus deri

NLopt的Gradient-based versus deri

作者: 布织岛 | 来源:发表于2019-03-12 03:37 被阅读0次

使用Gradient-based算法需要在代码中写出所求的各个变量的一阶导函数。

1 什么时候用Gradient-based算法?有什么好处呢?

Especially for local optimization, the most efficient algorithms typically require the user to supply the gradient ∇fin addition to the valuef(x) for any given pointx(and similarly for any nonlinear constraints).

Gradient-based算法的计算会很快。

2 什么时候适合用derivative-free algorithm?

On the other hand, computing the gradient is sometimes cumbersome and inconvenient if the objective function is supplied as a complicated program. It may even be impossible, iffis not differentiable (or worse, is discontinuous). In such cases, it is often easier to use a derivative-free algorithm for optimization, which only requires that the user supply the functionvaluesf(x) for any given pointx.

相关文章

  • NLopt的Gradient-based versus deri

    使用Gradient-based算法需要在代码中写出所求的各个变量的一阶导函数。 1 什么时候用Gradient-...

  • NLopt里面的算法

    Nlopt包含很多优化算法。NLopt中的每个算法都由命名常量标识,被传入NLopt中。 These consta...

  • 2021-05-22 NLopt的安装

    原始文档 https://nlopt.readthedocs.io/en/latest/NLopt_Install...

  • HeFESTo

    dependency : nlopt LAPACK BLAS already installed in mac a...

  • 20211017DERI刷量套利机制

    20211017DERI 底层机制的研讨 DERI是一个基于现金结算的衍生品交易平台,存入资金池子的人作为对手方,...

  • LeNet-5文章复现

    LeNet-5:Gradient-Based Learning Applied to Document Recog...

  • (2) Mnist: LeNet-5, 手写数字识别 basel

    LeNet-5 出自论文 Gradient-Based Learning Applied to Document ...

  • LeNet-5

    Yann LeCun 在1998年的文章《Gradient-Based Learning Applied to D...

  • Nlopt的算法implementation

    1 怎么选择合适的算法 2 每个不同的算法,调用的函数有哪些,先后步骤? 3 如果没有constraint呢?

  • LeNet-5

    一、前言 LeNet-5出自论文Gradient-Based Learning Applied to Docume...

网友评论

      本文标题:NLopt的Gradient-based versus deri

      本文链接:https://www.haomeiwen.com/subject/skuwpqtx.html