From 300a67fdb3866755830c4f3d3fe2f8e42dcfe3f6 Mon Sep 17 00:00:00 2001 From: "RAYNAUD Paul (raynaudp)" Date: Mon, 18 Jul 2022 10:02:13 -0300 Subject: [PATCH] docstring LBFGS et LSR1 --- src/tr_cg_lo_nlp.jl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/tr_cg_lo_nlp.jl b/src/tr_cg_lo_nlp.jl index 45b3e6b..7a98bc6 100644 --- a/src/tr_cg_lo_nlp.jl +++ b/src/tr_cg_lo_nlp.jl @@ -171,6 +171,11 @@ function solver_TR_CG_Ab_NLP_LO_ges( return ges end +""" + stats = my_LSR1(nlp::AbstractNLPModel; x::AbstractVector = copy(nlp.meta.x0), T = eltype(x), kwargs...) + +Personnal implementation of LSR1 trust-region. +""" function my_LSR1( nlp::AbstractNLPModel; x::AbstractVector = copy(nlp.meta.x0), @@ -182,6 +187,11 @@ function my_LSR1( return solver_TR_CG_Ab_NLP_LO_ges(nlp, B; x = x, kwargs...) end +""" + stats = my_LBFGS(nlp::AbstractNLPModel; x::AbstractVector = copy(nlp.meta.x0), T = eltype(x), kwargs...) + +Personnal implementation of LBFGS trust-region. +""" function my_LBFGS( nlp::AbstractNLPModel; x::AbstractVector = copy(nlp.meta.x0),