However, with the MP interface using these same options, only generic names (like R1 and C1) appear in the files. (This might not be specifically a Gurobi problem, but I haven't checked other solvers.)
[x] Var/con/obj name presolve added on 24 July 2023
[ ] Redefinition value linking for unary encoding to be added
[ ] Generic names are IMPL, IMPL1, IMPL2, ... for an original constraint/objective IMPL redefined into auxiliary items. This could be elaborated
[ ] option writegraph should use names. This requires names presolve to be done during redefinitions, as the graph export goes
With the ASL interface, it is possible to request the actual AMPL names in .mps and .lp files, by specifying
However, with the MP interface using these same options, only generic names (like R1 and C1) appear in the files. (This might not be specifically a Gurobi problem, but I haven't checked other solvers.)
writegraph
should use names. This requires names presolve to be done during redefinitions, as the graph export goes