Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
whart222 opened this issue Nov 16, 2019 · 1 comment
Closed

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

whart222 opened this issue Nov 16, 2019 · 1 comment

Comments

@whart222
Copy link
Member

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.

@jsiirola
Copy link
Member

jsiirola commented May 8, 2020

Archived on the master Performance Proposals Issue (#1430). Closing this performance proposal until active development has begun.

@jsiirola jsiirola closed this as completed May 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants