
Description
Hi,
I've been trying out Pyomo for the past few days and am very pleased with it. Today, however, I noticed I am unable to retrieve all the optimisation data that I would normally be able to obtain from CPLEX (via the command line, matlab, python bindings, etc).
In particular, I'm referring to the best bound, final relative MIP gap, deterministic computation time, and the feasible solution pool.
I suppose I could get this information by writing the problem to a file and doing what I need to do externally (without using Pyomo for those steps). The problem with this approach is that it would require me to develop two closely-related scripts (one in Pyomo and one using some other technology) to know which variable is which, therefore limiting Pyomo's usefulness.
Alternatively, I could get that information from the cplex object (used in the official cplex python scripts) since I'm using cplex_direct, but I can't seem to find that object.
This issue has also been identified in: https://groups.google.com/g/pyomo-forum/c/61VcjzUrzds
Is there a simpler way to access this information? If not, are there plans to complement the information provided through the solve method?
Any help is much appreciated.