Skip to content

MixedIntegerLinearProgram should provide a way to get the variables in the order they are provided to the polyhedron method #26302

@sagetrac-tmonteil

Description

@sagetrac-tmonteil

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions