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

Add ParameterizedQuadraticRepn and corresponding expression walker #3324

Merged
merged 35 commits into from
Aug 20, 2024
Merged
Show file tree
Hide file tree
Changes from 24 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
c9cd2ea
Add `ParameterizedQuadraticRepn` and accompanying walker
shermanjasonaf Jul 9, 2024
8d1ed3c
Simplify imports
shermanjasonaf Jul 9, 2024
d864e64
Rearrange imports
shermanjasonaf Jul 9, 2024
0803ad7
Apply black
shermanjasonaf Jul 9, 2024
9b6f929
Account for case where quadratic is None
shermanjasonaf Jul 9, 2024
73e1e9f
Account for case where quadratic is None
shermanjasonaf Jul 12, 2024
93e64f8
Tweak variable names and some comments
shermanjasonaf Jul 16, 2024
06ab631
Tweak variable names and some comments
shermanjasonaf Jul 16, 2024
bb01994
Remove unused `beforeChild` dispatcher
shermanjasonaf Jul 17, 2024
3675202
Account for zeros more carefully
shermanjasonaf Jul 17, 2024
56f22d6
Fix zero coefficient checks
shermanjasonaf Jul 17, 2024
8767c8b
Implement `ParameterizedQuadraticRepn.__repn__`
shermanjasonaf Jul 17, 2024
7fdc2b5
Add comprehensive test suite
shermanjasonaf Jul 17, 2024
bee1f56
Apply black to new testing module
shermanjasonaf Jul 17, 2024
bdbc80b
Merge branch 'Pyomo:main' into quadratic-walker-wrt
shermanjasonaf Jul 17, 2024
330cac8
Fix comments
shermanjasonaf Jul 17, 2024
21df3d4
Test ternary product of linear expressions
shermanjasonaf Jul 17, 2024
d82b9f3
Add test for noninteger power of linear expression
shermanjasonaf Jul 17, 2024
e4fca57
Test linear expression raised to fixed integer power
shermanjasonaf Jul 17, 2024
7cca746
Apply black
shermanjasonaf Jul 17, 2024
ada07b0
Complete test of nonlinear sum
shermanjasonaf Jul 17, 2024
dbbb0f1
Apply black
shermanjasonaf Jul 17, 2024
3eee189
Test simple expanded square monomial
shermanjasonaf Jul 17, 2024
416287b
Blacken new monomial square test
shermanjasonaf Jul 17, 2024
83c326a
Fix private method docstring
shermanjasonaf Aug 2, 2024
228ec3e
Simplify implementation of `beforeChild`
shermanjasonaf Aug 2, 2024
ac426b6
Merge branch 'main' into quadratic-walker-wrt
shermanjasonaf Aug 2, 2024
07e6c6a
Merge branch 'main' into quadratic-walker-wrt
shermanjasonaf Aug 6, 2024
4143140
Add further simplification of zero times expr
shermanjasonaf Aug 8, 2024
a1806df
Merge branch 'quadratic-walker-wrt' of github.com:shermanjasonaf/pyom…
shermanjasonaf Aug 8, 2024
710b022
Merge branch 'main' into quadratic-walker-wrt
shermanjasonaf Aug 8, 2024
91c59ad
Apply black
shermanjasonaf Aug 8, 2024
7ab6270
Merge branch 'quadratic-walker-wrt' of github.com:shermanjasonaf/pyom…
shermanjasonaf Aug 8, 2024
4ff37ce
Simplify use of `_merge_dict` method
shermanjasonaf Aug 15, 2024
9614c7a
Merge branch 'main' into quadratic-walker-wrt
jsiirola Aug 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading