JuMP : how to read a lp problem from file (lp FORMAT) with variables names?

So “Names registered in the model: none” means that we didn’t store anything in object_dictionary(model), so you can’t do, for example, model[:x].

But variable and constraint names are read, so you can do variable_by_name(model, "x").

To display the solution, you could do:

solution = Dict(name(x) => value(x) for x in all_variables(model))