Amplpy

Latest version: v0.13.3

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

Scan your dependencies

Page 2 of 9

0.12.0

- Upgrade libampl to 2.2.0-20230825.
- Use x-ampl by default if available.
- Add properties AMPL.solve_result/AMPL.solve_result_num.
- Add arguments to AMPL.solve to specify problem name and verbosity.
- Allow passing pandas.Series to AMPL.set_data and Parameter.set_values.
- Add AMPL.snapshot, and implement AMPL.export_model/AMPL.export_data using it.
- [Breaking] Drop Python 3.5 compatibility.
- [Breaking] Deprecate direct access methods to amplpy.DataFrame. Deprecated methods are still available with _ prefix.

0.11.2

- [Breaking] Cast floats to integers whenever possible.

0.11.1

- Add aliases Entity.get_values.to_pandas/to_list/to_dict.
- Automatically stack 2D pandas.DataFrames.

0.11.0

- Upgrade libampl to 2.1.2-20230618.
- Add AMPL.write, PresolveException, and InfeasibilityException.
- Improve handling of numpy types.
- Allow assigning values to sets from iterables.
- [Breaking] Drop async functionalities.
- [Breaking] DataFrame.to_pandas: start using multi-index by default.
- [Breaking] Drop Python 2.7 compatibility.
- [Breaking] Iterating over non-indexed sets now iterates over set members.

0.10.0

- Upgrade libampl to 2.1.0-20230522.
- Breaking: Entity names do not contain spaces in the indices anymore.

0.9.3

- Removed CamelCase from docstrings.

Page 2 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.