Skip to content

Commit bc873b8

Browse files
committed
Update CHANGELOG: numpy unary function notes
Add Unreleased notes for Expr and GenExpr support for numpy unary functions (np.sin, np.cos, np.sqrt, np.exp, np.log, np.absolute) and clarify that unary functions that apply a constant now return a constant instead of a GenExpr. Remove duplicate entries of these notes from the 6.1.0 and 6.0.0 sections.
1 parent 8c4b75f commit bc873b8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22

33
## Unreleased
44
### Added
5+
- `Expr` and `GenExpr` support numpy unary func (`np.sin`, `np.cos`, `np.sqrt`, `np.exp`, `np.log`, `np.absolute`)
56
### Fixed
67
### Changed
8+
- The unary functions that apply a constant will return a constant not a `GenExpr`
79
### Removed
810

911
## 6.1.0 - 2026.01.31
@@ -16,7 +18,6 @@
1618
- Added `structured_optimization_trace` recipe for structured optimization progress tracking
1719
- Added methods: `getPrimalDualIntegral()`
1820
- `getSolVal()` supports `MatrixExpr` now
19-
- `Expr` and `GenExpr` support numpy unary func (`np.sin`, `np.cos`, `np.sqrt`, `np.exp`, `np.log`, `np.absolute`)
2021
### Fixed
2122
- `getBestSol()` now returns `None` for infeasible problems instead of a `Solution` with `NULL` pointer
2223
- all fundamental callbacks now raise an error if not implemented
@@ -40,7 +41,6 @@
4041
- changed `addConsNode()` and `addConsLocal()` to mirror `addCons()` and accept `ExprCons` instead of `Constraint`
4142
- Improved `chgReoptObjective()` performance
4243
- Return itself for `abs` to `UnaryExpr(Operator.fabs)`
43-
- The unary functions that apply a constant will return a constant not a `GenExpr`
4444
### Removed
4545

4646
## 6.0.0 - 2025.11.28

0 commit comments

Comments
 (0)