Releases: sassoftware/sasoptpy
Releases · sassoftware/sasoptpy
sasoptpy v1.0.5
- Added Python 3.9 and 3.10 support
- Removed dependency version requirements
- Updated unit tests to reflect changes on Viya
sasoptpy v1.0.0
The v1.0.0 release!
Highlights include:
- Refactored the entire package; sasoptpy now has core, abstract, interface, session, and util directories
- Added workspaces. For more information, see Workspaces in User Guide and Efficiency Analysis example
- Added package configurations
- Added abstract actions that allow server-side operations
- Several bugfixes
- Experimental RESTful API is dropped
You can download the new version from PyPI:
pip install sasoptpy==1.0.0
sasoptpy v0.2.1
This release includes several bugfixes and multiobjective optimization support. It also introduces an experimental RESTful API. See whatsnew for more details.
Highlights include:
- Package can be installed using
pip
:
pip install sasoptpy
- Support for evaluating nonlinear expressions
- Support for multiple objectives (1, 2)
- Experimental RESTful API, Knapsack Example
- Jupyter Notebook for Diet Problem
- CD/CI Integration for GitLab repository
sasoptpy v0.2.0
This is a major release from 0.1.2. This release includes support for abstract modeling and nonlinear optimization problems, as well as changes to how sasoptpy communicates with both SAS Viya and SAS 9.4 solvers. See whatsnew for more details.
Highlights include:
sasoptpy v0.1.2
New Features
++++++++++++
- As an experimental feature, sasoptpy supports saspy connections now
- Model.solve_local method is added for solving optimization
problems using SAS 9.4 installations - Model.drop_variable, Model.drop_variables,
Model.drop_constraint, Model.drop_constraints methods are
added - Model.get_constraint and Model.get_constraints methods are
added to grab Constraint objects in a model - Model.get_variables method is added
- _dual attribute is added to the Expression objects
- Variable.get_dual and Constraint.get_dual methods are added
- Expression.set_name method is added
Changes
+++++++
- Session argument accepts saspy.SASsession objects
- VariableGroup.mult method now supports pandas.DataFrame
- Type check for the Model.set_session is removed to support new session
types - Problem and solution summaries are not being printed by default anymore,
see Model.get_problem_summary and Model.get_solution_summary - The default behavior of dropping the table after each solve is changed, but
can be controlled with the drop argument of the Model.solve method
Bug Fixes
+++++++++
- Fixed: Variables do not appear in MPS files if they are not used in the model
- Fixed: Model.solve primalin argument does not pass into options
Notes
+++++
- A .gitignore file is added to the repository.
- A new example is added: Decentralization.
- Both CAS/Viya and SAS versions of the new example are available.
- There is a known issue with the nondeterministic behavior when creating MPS
tables. This will be fixed with a hotfix after the release. - A new option (no-ex) is added to makedocs script for skipping examples when
building docs.
sasoptpy v0.1.1
v0.1.1 (February 26, 2018)
New Features
+++++++++
- Initial value argument 'init' is added for Variable objects
- Variable.set_init method is added for variables
- Initial value option 'primalin' is added to Model.solve method
- Table name argument 'name', table drop option 'drop' and replace
option 'replace' are added to Model.solve method - Decomposition block implementation is rewritten, block numbers does
not need to be consecutive and ordered Model.upload_user_blocks - VariableGroup.get_name and ConstraintGroup.get_name methods
are added - Model.test_session method is added for checking if session is defined
for models - quick_sum function is added for faster summation of
Expression objects
Changes
++++++
- methods.py is renamed to utils.py
Bug Fixes
++++++
- Fixed: Crash in VG and CG when a key not in the list is called
- Fixed: get_value of pandas is depreceated
- Fixed: Variables can be set as temporary expressions
- Fixed: Ordering in get_solution_table is incorrect for multiple entries
sasoptpy v0.1.0
Initial release