Releases: PSORLab/SourceCodeMcCormick.jl
v0.5.0
SourceCodeMcCormick v0.5.0
Major change
- The methodology for how generated functions work, and how they are written, has changed. The main user-facing function is now
kgen
. This change is not breaking in the sense thatfgen
still exists as a legacy option, butkgen
should be used in almost every case.
Merged pull requests:
- Minor fgen fixes (#11) (@RXGottlieb)
- Added
kgen
(#12) (@RXGottlieb) - Update Project.toml (#13) (@RXGottlieb)
- Update README.md (#14) (@RXGottlieb)
v0.4.1
SourceCodeMcCormick v0.4.1
Merged pull requests:
- Bug fixes in README (#9) (@RXGottlieb)
- Bug fixes (#10) (@RXGottlieb)
Closed issues:
v0.4.0
SourceCodeMcCormick v0.4.0
Merged pull requests:
- Add Subgradients and Automated Function Writing (#7) (@RXGottlieb)
v0.3.1
Add a custom branching rule for GPU methods.
v0.3.0
--Generalized extension name into the abstract type ExtendGPU to allow for alternative GPU-based methods.
--Added manual garbage collection to reduce time spent on GPU GC.
--Corrected variable name generation when variables with indices are used (e.g. x[1:5] instead of x).
--Corrected recognition of variables with indices in some edge cases.
--Corrected mid_expr, which sometimes returned results inconsistent with McCormick.jl.
--Added a ::Nothing relaxation rule.
--Corrected some typos in multiplication relaxation rules.
--Added "cut" operator to multiplication and division operations.
--Added min/max rules (may need further development/verification).
--Changed "factor" to no longer modify input expressions.
--Added some support for "constants", which are inputs that should be treated symbolically but should not be expanded into McCormick tuples.
--Added "sort_vars" function, which groups McCormick tuples together, and places constants at the front, before alphabetically sorting McCormick tuple groups.
--Reordered user-facing inputs and outputs to [cv, cc, lo, hi] instead of [lo, hi, cv, cc].
v0.2.0
Compatibility update for SymbolicUtils v1. SourceCodeMcCormick now uses the underlying BasicSymbolic type.
v0.1.2
Update for public release
v0.1.1
Update for public release
v0.1.0
The initial source-code transformation release. An approach to applying McCormick relaxations to symbolic expressions and equations (via Symbolics) through a transformation of the original expressions.