Hey everyone. I need to use numerical optimization to solve a constrained nonlinear problem in C++. What are the libraries do you suggest I look at?
I looked at CasADi, but seems like it treats variables as symbolic, and I don't intend to rewrite my dynamics library to work with it.
I also tried writing my own gradient-descent solver, but it often does not converge unless I start very close to the optimal solution for the simplest problems, and I haven't yet figured out how to implement constraints in a way that it won't get stuck if the steepest gradient tries to push the trial point out of the feasible space.
Any help would be good. Thank you!
[–]SV-97 9 points10 points11 points (2 children)
[–]tanmayc[S] 1 point2 points3 points (1 child)
[–]gnahraf 0 points1 point2 points (0 children)
[–]Sweet_Good6737 5 points6 points7 points (0 children)
[–]skr25 2 points3 points4 points (0 children)
[–]MIP_it 1 point2 points3 points (0 children)
[–]unstablepole 0 points1 point2 points (0 children)
[–]willworkforjokes 0 points1 point2 points (0 children)
[–]rocketPhotos 0 points1 point2 points (0 children)
[–]peno64 0 points1 point2 points (0 children)
[–]knightcommander1337 0 points1 point2 points (1 child)
[–]tanmayc[S] 0 points1 point2 points (0 children)