Skip to content
Advertisement

Tag: mathematical-optimization

Get variable values at each iteration of GEKKO optimization

I would like to get the value of the variables at each iteration of the optimization process when using Python GEKKO. For example, the following code from the documentation (https://gekko.readthedocs.io/en/latest/quick_start.html#example) solves problem HS71: The output displayed in the console is the following: This includes the value of the objective function at each iteration, but I would also like to get

Advertisement