Is there a way to get from pyomo
a list of the objective values at every X
iterations, especially when using cbc
?
The usual way of running the solver only returns the final solver results.
results = SolverFactory('cbc').solve(model)
results.write()
print(model.obj()) # final objective value