Skip to content

make LP return the number of variables #13148

@dimpase

Description

@dimpase

Currently there is no way to know how many variables an LP actually has, without parsing its constraints. However, this information is readily available from the backend. Hence the patch attached.


Apply attachment: trac_13148-number_of_variables_in_LP.patch to devel/sage

CC: @nathanncohen @ppurka

Component: linear programming

Author: Dima Pasechnik

Reviewer: Nathann Cohen

Merged: sage-5.2.beta0

Issue created by migration from https://trac.sagemath.org/ticket/13148

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions