Closed castrovictor closed 11 months ago
Update: installed ipopt from apt. Now it starts optimizing but the computation never ends. Actually, it looks like the fitness function is never called. It seems more like ipopt problem itself, but still would need some help because I can not figure this out
Nevermind, I finally figured it out. It was some problems with the installation
I have followed the tutorials to define a simple problem. In my case, I want to optimize a simple quadratic funciton. I have been able to optimize it with the algorithm
bee_colony()
, but my goal is to usealgorithms::ipopt
. What I have done is passing it to the algorithm constructor. It does not throw any error, but the result is not correct, and it performs very few iterations.Here it is what I am doing:
The final output is the following, while it should be x=1 with fitness=3
Any help is aprecciated. Thank you.