Skip to content

Define custom expression objects to short-circuit common checks #1184

Closed
@whart222

Description

@whart222

For example, checkout the perf_explicit_canonical branch, which defines the X_LinearExpression class. In the pmedian1a.py example, these expressions are used to declare linear expressions with constant coefficients and non-fixed variables.

In a comparison with pmedian8, pmedian1a.py is about 25% than pmedian1.py when creating an LP file.

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