I have been investigating JuMP (with optimizers CBC, CLP, and GLPK) for linear models. I can obtain the values of the decision variables, the optimum of the objective function, the shadow prices of the binding constraints, and of course other values as well. And I can write the model to a file in a variety of formats.
It’s clear that the call to
optimize! produces a great deal of information (depending on the solver), some of which is available through commands such as
objective_value and so on.
What I want to know is: is there some way of seeing all the information held in a model after a successful optimization? That is, can I peer at the internal structure of a model and of the values of its various fields? I’m curious to know what’s in a model, so to speak. Is it possible, for example, to express a model as a database containing all its fields and their values? Or is there some way of “dumping” a model and all of its contents?
I’m using Julia 1.4.1 and JuMP 0.21.4.
Thanks very much.