-
Notifications
You must be signed in to change notification settings - Fork 526
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
Merge Expression Branch #272
Merged
Changes from all commits
Commits
Show all changes
759 commits
Select commit
Hold shift + click to select a range
117009a
Two major changes to inequalities
whart222 9e7178f
Updating constraint logic and testing
whart222 62bde83
Updates to use RangedExpression objects
whart222 0bd86b1
Updates to use RangedExpression objects
whart222 8a68805
Changes to eliminate ranged expressions
whart222 6585e7c
Removing chained inequalities
whart222 b4a7af8
Getting rid of chained inequalities.
whart222 cc0469e
Removing chained inequality expressions
whart222 8cd29f7
Removing chained inequality expressions
whart222 749da07
Removing chained inequality expressions
whart222 ac86113
Explicit construction of ranged expression
whart222 88426b1
Adding the inequality() function.
whart222 634512a
Removing tests with chained inequalities
whart222 60379ef
Updating examples to use the inequality() func.
whart222 d7ede57
Remove chained inequalities from tests.
whart222 e014df6
Removing the inequality() method.
whart222 583b4cf
Merge branch 'master' into expr_dev
whart222 0f60bb5
Updating to use the standard repn
whart222 c354c91
Changes to account for new param semantics.
whart222 84df5c3
Misc changes to resolve merge issues
whart222 7c6ecaf
Misc test updates
whart222 2968810
Misc change to resolve merge issue
whart222 e2e83ff
Change to use the the standard repn
whart222 4b1d7d4
Adding walker to find mutable params
whart222 3852768
Merge branch 'expr_dev' of https://github.com/Pyomo/pyomo into expr_dev
whart222 23a8bea
Renaming function:
whart222 e46a3ec
Removing expression walkers
whart222 67d54c0
Changes to expression mngmnt
whart222 6a83051
Fixing typo
whart222 1d2d322
A linear constant sum is just a constant
whart222 7a9aeed
Several significant changes to pyomo5 expressions
whart222 cdbed6a
Several changes
whart222 edd9b8f
Recognize when chained inequalities are disabled
whart222 1498fc0
Several testing changes
whart222 44fb53d
Misc baseline update
whart222 0844bfb
Baseline updates
whart222 ba112e4
Several fixes in repn logic
whart222 726d0f1
Fix to use inequality()
whart222 9f21ab0
Adding a deprecation warning
whart222 c9db025
Merge branch 'master' into expr_dev
whart222 639d047
Resolving import issues
whart222 88e9e59
Disabling scipy when using PyPy
whart222 8a071f3
PyPy portability fix
whart222 e7f6741
Baseline fix
whart222 c6b61b9
Skiping tests based on scipy
whart222 662aebe
Updates to use new expression syntax
whart222 2bc3fa0
Merge branch 'master' into expr_dev
whart222 dd840c3
Updating to use standard repn
whart222 855c411
Reverting baseline
whart222 f76f6e7
For now, disabled processing for connectors
whart222 7807d23
Mostly documentation updates.
whart222 75dc887
Some performance optimizations
whart222 0ca01c0
Changes to support cython
whart222 c2989f1
Tuning performance of Sum()
whart222 92f2758
Updating Cythonization.
whart222 9305c5b
Cythonizing numvalue.py
whart222 b3e2aca
Adding Cythonized *.c file.
whart222 598fbdf
Ignore *.pyx files
whart222 65a8afb
Removing null command
whart222 f14e6f5
Adding polynomial_degree()
whart222 487ddf8
Misc test fixes
whart222 1a1b47c
Catching runtime error.
whart222 6564bce
Adding --with-cython installation flag
whart222 b676e0b
Renaming Sum to quicksum
whart222 7c054e7
Removing reference to Sum().
whart222 ed60fec
Misc edits
whart222 2723b1a
Renaming Sum to quicksum
whart222 dedd2a2
Perparing for Pyomo 5.4 release
whart222 efac071
Updating release version
whart222 58b5fbe
Several performance optimizations
whart222 c19c077
Adding bilinear tests.
whart222 2ffb004
Bug fix
whart222 9286053
Bug fix to ignore 0 nonlinear terms
whart222 f06eaab
Baseline updates
whart222 c5b437d
Several changes
whart222 cfbef78
Explicitly construct context manager
whart222 e785a14
Misc documentation update
whart222 341e335
Misc optimization
whart222 1c27f50
Adding performance optimization for lienar expr
whart222 b07dfc1
New tests to improve code coverage
whart222 de341c6
Removing commented code
whart222 3cfcd77
Simplifying normalization of equalities
whart222 82ed323
Baseline updates
whart222 be46a83
Adding TermExpression
whart222 2c1f1cb
Changes to recognize linear terms in tests.
whart222 c966bee
Changes to ...
whart222 9e20332
Process TermExpression objects
whart222 c8452fd
Merge branch 'master' into expr_dev
whart222 0b6d287
Baseline update
whart222 0519300
Update to use Pyomo5 API
whart222 5a313d5
Updating test checks
whart222 d33a553
Updated to use StandardRepn API
whart222 e6f8b6b
More aggressive optimizations
whart222 618cbde
Baseline update
whart222 a045748
Baseline updates
whart222 dc2eb6b
Fix in exception name
whart222 abba5b7
Update to use Pyomo5 expressions
whart222 e9b5f6b
Adding an expression walker
whart222 8af81cd
Many revisions to tests
whart222 3e849f3
Fix to ignore expression with base value of None
whart222 dbd6ef9
Removing symbols that were removed...
whart222 e56559a
Adding function to process constant
whart222 36f9b8f
Update to baseline check
whart222 8421ea4
Fixing EXPR import
whart222 3142694
Removing unused file.
whart222 f1dd269
Removing unused file
whart222 61a3611
Various optimizations
whart222 33093e7
Additional changes to use TermExpression objects
whart222 7b510b7
Simplification of linear decomposition
whart222 5c6da94
Reorder collection of summation terms
whart222 e882c28
Baseline updates
whart222 01ec07f
Several changes.
whart222 6a98890
Misc optimization
whart222 34e5610
Cython bug fixes
whart222 067b52b
Bug fix
whart222 2aa173b
Bug fixes
whart222 e174211
Commenting out unused code.
whart222 a98a74f
Updating test
whart222 0ec77e4
Bug fix
whart222 ceb3215
More careful replacement of terms
whart222 150a1d3
Adding test failure category
whart222 00c0dea
Misc change when comparing with zero.
whart222 af5b0cd
Building Gurobi expressions more quickly
whart222 e4ce0f5
Disabling expression normalization in __str__
whart222 cfdd17d
Adding a 'sort' option for to_expression()
whart222 ca36868
Bug fix.
whart222 23bddef
Checkout the expr_dev branch
whart222 5d91bcd
Bug fix: variable misnamed
whart222 75386c7
Merge branch 'expr_dev' of https://github.com/Pyomo/pyomo into expr_dev
whart222 dd16fb8
New cases where TermExpressions are used
whart222 de7e477
Updates to improve core coverage
whart222 6b732cd
Fixing cloning logic
whart222 38875d0
NFC: cleanup whitespace
ghackebeil 36263a8
fix for coverage
ghackebeil 874142c
NFC: cleanup whitespace
ghackebeil b33eaf8
additional tests for coverage of kernel components
ghackebeil c9caa28
fixing typo
ghackebeil ee239a2
more fixes and unit tests to finish covering kernel
ghackebeil 9265344
removing some confusing implicit behavior from kernel constraint
ghackebeil f087ab7
fixing up kernel namespace to get example test working again
ghackebeil 93229dc
Updating tests dependent on GLPK
whart222 b556501
removing unneeded test categorization
ghackebeil 53b86ab
Merge branch 'master' into expr_dev (and handle some conflicts in PyS…
ghackebeil 07bc3a1
removing cAmpl code: this has not been touched or used in years (and …
ghackebeil a643e9f
NFC: cleaning tabs and spaces in test files
ghackebeil d05bf89
fixing ampl test so that functions are evaluated within their domain
ghackebeil dce6787
tweaking test so it matches ampl expression output
ghackebeil b16a886
tweaking test so it almost matches ampl expression output (requires s…
ghackebeil f6f9ab3
is_expression was renamed to is_expression_type
ghackebeil e10f09c
fixing generator function: return (None) should be used in place of r…
ghackebeil f7d6241
Baseline updates
whart222 e14cb66
Updating baseline.
whart222 69eddbd
Bug fix. Recognize when we have a fixed expr.
whart222 f0148eb
Don't add linear terms with 0 coef
whart222 e8262c3
Changes to test categories
whart222 d710ee3
Fixing documentation errors
whart222 1cbe212
Various changes
whart222 331c60e
Renaming summation to sum_product
whart222 a51596e
Removing most references to isclose()
whart222 cf5480b
Bug fix when detecting a zero constant
whart222 1ea0cd7
Various changes to remove isclose()
whart222 5d9f9dc
Renaming TermExpr to MonomialTermExpr
whart222 3e40eff
Renaming sum expression objects
whart222 ebff9b9
Adding the Expr_if function.
whart222 ec79710
Updating replacement walker
whart222 4e3d1b6
Renaming dot_product to sum_product
whart222 023c13c
Bug fix
whart222 05cd676
Bug fix.
whart222 b39be0d
Updates to prod/quicksum logic.
whart222 4d42195
use inequality function
ghackebeil 97fcb64
remove use of deprecated option
ghackebeil 34f410e
use the inequality function
ghackebeil 8ccf30b
Make PySP SMPS and DDSIP writers compatible with new StandardRepn
ghackebeil 0239863
more pysp fixes for new expression system
ghackebeil 4c24e91
NFC: cleanup whitespace
ghackebeil d182d97
more pysp fixes for new expression code
ghackebeil 68795d1
Adding functionality to the NL writer to handle StandardRepn objects …
ghackebeil aac3aaa
Removing in-place methods from the named expression classes and updat…
ghackebeil 93c5df9
removing edge-case behavior in inequality function that converts to a…
ghackebeil 78c241f
bug in gurobi direct interface with quadratic expressions
michaelbynum 285f4d0
fixing tests: Pyomo expressions do not do integer division (even in P…
ghackebeil c811aca
updating cplex direct/persistent to use the new expression system
michaelbynum 8963744
more updates to cplex direct/persistent interfaces to use new express…
michaelbynum 00ea254
Merge branch 'master' into expr_dev
whart222 82a8592
Disabling tests when numpy not installed
whart222 eb647ef
Removed redundant decorator
whart222 e05cf3a
Removing unprocessed merge comments
whart222 0c33b26
Bug fix
whart222 6e948df
Bug fix
whart222 818a973
Change to *not* execute merged code
whart222 11231c5
Simplifying several for loops
whart222 42b9eb5
Removing compress_expression()
whart222 f0200e0
Fixing issue with repn generation
whart222 038ca5e
Removing is_named_expression_type()
whart222 6a9d6cb
Renaming _PolyDegreeVisitor
whart222 642e62f
Renaming __public__ to _public
whart222 2a77d27
Renaming __public__ to _public
whart222 e77da93
Two changes
whart222 6c90ebf
Renaming context manager objects
whart222 560d7e3
Allocating context managers
whart222 38da521
Allocating context managers
whart222 72c910f
Documentation update
whart222 b6aa1c8
Reverting check for isclose()
whart222 e3a5a39
Baseline updates
whart222 7adaeca
Moved code tests before doc tests
whart222 5efba19
Misc documentation update
whart222 42654a3
Resolving bug found by Gabe
whart222 c162b11
Baseline updates
whart222 cdcc35f
Updating documentation after renaming files.
whart222 c3896f4
Removing Python 3.4 tests
whart222 4641cd8
Fixing Python 2.6 test
whart222 d01d404
Adding Python 3.4
whart222 a96e556
Adding debugging IO
whart222 83738f5
Removing `isclose()` test in `contrib.constraints_to_var_bounds`
jsiirola 453b39e
Reverting change to `contrib.constraints_to_var_bounds` behavior
jsiirola aa7f88a
Replacing final use if isclose()
whart222 28cb12a
Correcting `is_potentially_variable` for expression templates.
jsiirola 94d746e
Moving is_expression_type()
whart222 b926b26
Documentation update
whart222 167fa16
Documentation update
whart222 52d2189
Renaming construct_node()
whart222 c6ee41e
Removing _polynomial_degree() function
whart222 00afa99
Misc optimization
whart222 94b321e
Moving binary sum methods to subclass
whart222 6bb9b4d
Removing global clone_counter CM
whart222 48706e0
Moving examples into tests
whart222 0493795
Removing implicit reordering of products
whart222 00fd7aa
Adding more debugging output
whart222 b734bcd
Disabling __deepcopy__ customization in Pyomo5
whart222 405ea9c
Merge branch 'expr_dev' of https://github.com/Pyomo/pyomo into expr_dev
whart222 a0140cb
Fixing a bug in the Simulator
blnicho 204a399
Removing unused expression checker in the Simulator
blnicho e183a44
Fixing a bug in the Simulator
blnicho a785767
Removing commented imports and adding simulator tests for checking ne…
blnicho 890a36f
Clone the expr_dev branch of model libraries
whart222 d0ae584
Resolving #440
whart222 9fe320a
Merge branch 'master' into expr_dev
whart222 eeecdc2
Bug fix in replacement visitor.
whart222 ff7f460
doctest fixes
whart222 6ef6724
Bug fix
whart222 24ab5ca
Documenting expr_dev PR in CHANGELOG
whart222 be1f989
Merge branch 'expr_dev' of https://github.com/Pyomo/pyomo into expr_dev
jsiirola ce4ddc5
Merge branch 'master' into expr_dev
whart222 e275026
Baseline update
whart222 d60e494
A "bug fix" in runtime performance
whart222 cd53beb
Two changes
whart222 7157a17
Updating baseline
whart222 67c73aa
Baseline updates
whart222 7db9fb6
Reverting a change to is_potentially_variable()
whart222 e92309d
Test fix.
whart222 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be reverted before a merge.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep!