When creating a MixedIntegerLinearProgram, we may have no control on the order in which the (one-dimensional) variables are defined (because of complicated loops).
When we use the polyhedron method, the basis of the underlying vector space is ordered according to some order on the variables, which basically follows the order in which they are defined.
However, there is no simple way to get this order for the user. We need a method to get this order if we want to be able to connect information provided by the polytope (e.g. its set of integral points) to the original linear problem.
To provide a concrete example of the issue, see my answer of this as question.
CC: @jplab @mkoeppe @mo271 @videlec @yuan-zhou
Component: linear programming
Author: Matthias Koeppe
Branch/Commit: u/mkoeppe/mixedintegerlinearprogram_should_provide_a_way_to_get_the_variables_in_the_order_they_are_provided_to_the_polyhedron_method @ db6571e
Issue created by migration from https://trac.sagemath.org/ticket/26302