In the python version of FEniCS, I use the SciPy routines to do my optimizations (e.g., lower and upper bounds, inequality constraints, etc). But if I wrote a C++ version of my code, what libraries would I use to do optimization? Or could I call the same routines but using C++ syntax? Because I don't see any demos in C++ that demonstrate this.
Any help appreciated, thanks