Equivalent of python:scipy.optimize() in C++?
Asked Answered
L

2

6

Specifically I am looking for an optimizer function like scipy.optimize.fmin_l_bfgs_b .. Can someone help me please ? Or provide pointers ?

Thanks!

Labanna answered 17/5, 2012 at 20:26 Comment(2)
Quick search produces dlib.Brevet
chokkan.org/software/liblbfgsMelanymelaphyre
B
10

The dlib C++ library has a number of optimizers in it including L-BFGS. It's free and the optimization tools are header-only so there is nothing to install or configure. There is also a relevant example program that shows you how to use the L-BFGS optimizer.

Bangweulu answered 17/5, 2012 at 22:0 Comment(0)
A
1

If still someone looking for, use LBFGS++ they also introduce the recently Box-constrained version. I have been using this for a while. You can find some good examples on their official website.

Achromatous answered 29/8, 2021 at 20:19 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.