abelsiqueira / TrustNLS.jl

Nonlinear Least Squares solved by a trust region method
Other
0 stars 0 forks source link

could you please tell me how to use this pkg #1

Open liushang0322 opened 2 years ago

liushang0322 commented 2 years ago

I am trying to write a nonlinear curve fitting library using the Trust-Region algorithm. I am very interested in seeing your library. Could you give me some examples and let me know how to use it?

abelsiqueira commented 2 years ago

Hi @liushang0322, this package was just prototyping and doesn't have any working algorithm. I don't think it works anymore (or if it ever did). You can check https://github.com/JuliaSmoothOptimizers/JSOSolvers.jl, specifically trunkls for a working algorithm.

You have to create a problem (NLSModel) using ADNLPModels or NLPModelsJuMP and pass it to trunkls. There is no tutorial doing that at the moment.

Most packages have a specific documentation (see their GitHub repo). There are no tutorials at the moment with all of these together, so if you have any questions about usage, feel free to open an issue on the relevant package or on Discourse.