Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
3d93e27
refac: replace piecewise descriptor pattern with stateless constructi…
FBumann Apr 1, 2026
0fab7fc
refac: use keyword-only args for 2-variable piecewise API
FBumann Apr 1, 2026
22d2196
docs: use breakpoints() in CHP example and add plot
FBumann Apr 1, 2026
d0a0142
fix: broadcast N-variable breakpoints over expression dims
FBumann Apr 1, 2026
457d392
docs: generalize plot_pwl_results for N-variable case
FBumann Apr 1, 2026
ddc5c53
docs: rewrite piecewise documentation for new API
FBumann Apr 1, 2026
e219c47
refac: extract piecewise_envelope, remove sign from piecewise API
FBumann Apr 1, 2026
dd51e82
rename piecewise_envelope to piecewise_tangents
FBumann Apr 1, 2026
779aab0
rename to tangent_lines — not piecewise, just linear expressions
FBumann Apr 1, 2026
5d69625
refac: move tangent_lines into piecewise.py, remove linearization.py
FBumann Apr 1, 2026
70dfbcb
docs: clarify equality vs inequality — when to use what
FBumann Apr 1, 2026
c57e274
refac: tuple-based API for add_piecewise_constraints
FBumann Apr 1, 2026
786776d
feat: use variable names as link dimension coordinates
FBumann Apr 1, 2026
d3b21a0
fix: remove piecewise.piecewise from api.rst, fix xr.concat compat in…
FBumann Apr 1, 2026
7d40413
fix: add coords='minimal' to xr.concat calls for forward compat
FBumann Apr 1, 2026
dcf77d2
feat: add per-entity breakpoints example, fix scalar coord handling
FBumann Apr 1, 2026
b449c7e
docs: use fuel as x-axis in CHP plot for physical clarity
FBumann Apr 1, 2026
b43d9fe
docs: fix per-entity plot to use fuel on x-axis with correct data
FBumann Apr 1, 2026
03fb7ba
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 1, 2026
27f1915
docs: update release notes for piecewise API refactor
FBumann Apr 1, 2026
f08d120
docs: frame piecewise as new feature in release notes, not refactor
FBumann Apr 1, 2026
2fc3da6
fix: resolve mypy type error in incremental bp0_term assignment
FBumann Apr 1, 2026
7fa0c42
docs: restructure piecewise documentation for readability
FBumann Apr 1, 2026
e05db03
fix: add type: ignore comments to resolve mypy errors
FBumann Apr 1, 2026
0cf6fe8
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 1, 2026
afa1d8e
refac: remove dead code
FBumann Apr 1, 2026
07b7c16
refac: inline _add_dpwl_sos2_core into _add_disjunctive, remove dead …
FBumann Apr 1, 2026
e23f934
refac: clean up piecewise module (#641)
FBumann Apr 1, 2026
8cac1d7
feat: generalize disjunctive formulation to N variables
FBumann Apr 1, 2026
1dd2f4a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 1, 2026
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
2 changes: 1 addition & 1 deletion doc/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ Creating a model
model.Model.add_constraints
model.Model.add_objective
model.Model.add_piecewise_constraints
piecewise.piecewise
piecewise.breakpoints
piecewise.segments
piecewise.tangent_lines
model.Model.linexpr
model.Model.remove_constraints
model.Model.copy
Expand Down
Loading
Loading