Skip to content

Reconsider performance of expressions with many constants #324

Closed
@whart222

Description

@whart222

Should we combine these into a single sum (which is expensive)? Or store them in a list?

Right now, the Sum() function doesn't recognize that:

1 + x + y

is a linear expression, because it starts with a constant and we're very conservative assuming that more than one constant term is a problem.

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