Gamspy

Latest version: v1.8.0

Safety actively analyzes 723217 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 10

1.8.0

------------
- General
- Improve the performance of frozen solves.
- Add support for new equation, variable matching syntax for MCP models.
- Ignore empty and newlines in the existing solvers file.
- Use finalizers instead of __del__.
- Cache solver capabilities, default solvers and installed solvers to speed up solver validation.
- Fix the bug in the case of multiple frozen models in one container.
- Perform pip audit check in the pipeline instead of pre-commit.
- Upgrade gamspy_base and gamsapi dependencies.
- Documentation
- Add `Examples` section under `Machine Learning` documentation.
- Add a Thermal Reformer example demonstrating neural network surrogate modeling.
- Testing
- Fix the issue of mac jobs deleting each others environments.

1.7.0

------------
- General
- Allow container serialization/deserialization.
- Support an alternative syntax for operations. For example, x.sum() is equivalent to Sum(x.domain, x[x.domain]).
- Fix a bug when starting from a GAMS restart file.
- Allow propagating bounds of the output in `Conv2D` class.
- Introduce `name_prefix` option to NN formulations for ease of debugging.
- Documentation
- Add a section in FAQ about the compatibiltiy issues of the Python interpreter from the Microsoft Store.
- Fix minor issue in embedding Neural Network documentation.
- Testing
- Enforce the order of tests. Run unit tests first, and model library tests last.
- Use spawn method for multiprocessing to avoid possible deadlocks with fork method.

1.6.0

------------
- General
- Upgrade pre-commit dependencies.
- Enhance bound propagation for `AvgPool2d` class.
- Allow adding debug options to Options objects.
- Allow starting from a GAMS restart file.
- Allow registering metadata to symbols via `symbol._metadata` attribute.
- Fix solver option format of HIGHS, SHOT, SOPLEX and SCIP.
- Allow dumping gams state on `.toGams` call.
- Allow indexing into symbols with integers.
- Add `bypass_solver`, `cutoff`, and `default_point` options.
- Replace conda, pip and virtualenv with uv in ci pipelines.
- Add --use-uv option to allow solver downloads with uv.
- Provide ssl context explicitly for NEOS backend.
- Add configurable options via set_options and get_option.
- Fix bug in an edge case of the vector-matrix multiplication.
- Testing
- Add an lp and a qcp benchmark for performance comparison.
- Documentation
- Add CNNs to embedding Neural Network documentation.

1.5.1

------------
- General
- Fix the bugs in dynamic set assignments.
- Rewrite parts of GAMS Control API.
- Fix debugging level bug of NEOS backend.
- Fix license issue of big models that are solved with frozen solve.
- Allow loadRecordsFromGdx to domain forward.
- Enhance bound propagation for `MaxPool2d` and `MinPool2d` classes.
- Testing
- Add bound propagation tests for `MaxPool2d` and `MinPool2d` classes.
- Documentation
- Update embedding Neural Network documentation.

1.5.0

------------
- General
- Fix implicit parameter validation bug.
- Migrate GAMSPy CLI to Typer.
- Threads can now create a container since we register the signal only to the main thread.
- Fix solver options bug in frozen solve.
- Synchronize after read.
- Upgrade gamspy_base and gamsapi dependencies.
- Add `--checkout-duration` and `--renew` options to `gamspy install license`.
- Testing
- Lower the number of dices in the interrupt test and put a time limit to the solve.
- Add tests for piecewise linear functions.
- Documentation
- Install dependencies in the first cell of the example transportation notebook.
- Add Formulations page to list piecewise linear functions and nn formulations.

1.4.0

------------
- General
- Resolve static code analysis issues to improve code quality.
- Return the value as a float if the given domain sets are all literals.
- Add an automation script to update pyproject.toml, switcher, version test, and the release notes.
- Allow propagating bounds of the output in the Linear class.
- Allow GAMS to find the available port and connect to it.
- Upgrade gamspy_base and gamsapi dependencies.
- Testing
- Set COVERAGE_CORE to sysmon to make use of the new sys.monitoring package in Python.
- Documentation
- Add an example demonstrating how to solve the Minimum Cost Multi-Commodity Flow Problem using Column Generation in GAMSPy.
- Remove non-negative variable type from the docs.
- Add plausible.js for analytics.
- Minor update in embedding nn documentation.
- Add descriptions and example code to formulations documentation.

Page 1 of 10

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.