I'm using PYOMO to solve a linear program with CPLEX as my solver. I would like to access the final simplex tableau somehow, either by outputting it to a log file or saving it to a variable within my workspace. The following script is what I am using to solve my LP. Likely, there is an option I can pass to the CPLEX solver to save the final tableau, but so far my search has been fruitless.
self.solver = pyomo.opt.SolverFactory('cplex')
self.results = self.solver.solve(self.m, tee=True, keepfiles=True, options_string='lpmethod=1')
Thanks.