Repository navigation
·
11 commits
to develop
since this release
GAMSPy 1.29.2 (2026-10-27)
New features
- #565: Add
unicodeReprto symbols, expressions, and operations to represent them in mathematical notation with Unicode characters, andModel.toUnicodeto represent a whole model likeModel.toLatexdoes. - #923: Add an optional
restrictargument to piecewise linear formulations andpwlinearto apply PWL relationships only to selected indexed entries.
Improvements in existing functionality
- #720:
Problem,Sense,EquationType,VariableType, andFileFormatare nowStrEnumsubclasses, so their members compare equal to their string values. - #945: Conv1d, Conv2d, MaxPool2d, MinPool2d and AvgPool2d window set creation improvements.
Bug fixes
- #938: Discard the statements of context managers such as
gp.Loop,gp.Foretc.
that raised an exception instead of executing them later. - #939: Stop changing the attributes of user given options object in place as it might affect the subsequent solves.
- #941: Stop leaving temporary
autotempsymbols in the container when evaluating the records of an expression, operation, condition or implicit symbol fails. - #944: Fix compilation errors for symbol and model descriptions that contain double quotes.
- #946: Fix attribute assignments that are ignoring literal indices and transposition.
- #947: Fix
gp.math.tracemodifying the domain of its input symbol. - #948: Fix keeping the pre-freeze values of certain variables and equations after a frozen solve.