diff --git a/CHANGELOG.md b/CHANGELOG.md index f579f04..f8ed6a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). -## 0.14.0 - 2024-05-## +## 0.14.0 - 2024-05-21 - Allow assigning values to indexed sets from a dictionary with the lists of members for every index. - Add AMPL.get_iis() to return dictionaries with variables and constraints in IIS. diff --git a/amplpy/__init__.py b/amplpy/__init__.py index 35c3710..cf95239 100644 --- a/amplpy/__init__.py +++ b/amplpy/__init__.py @@ -42,7 +42,7 @@ except Exception: pass -__version__ = "0.14.0b0" +__version__ = "0.14.0" def _list_aliases(): diff --git a/amplpy/ampl.py b/amplpy/ampl.py index c81178c..d4f2366 100644 --- a/amplpy/ampl.py +++ b/amplpy/ampl.py @@ -919,17 +919,17 @@ def get_iis(self): var_iis, con_iis = ampl.get_iis() print(var_iis, con_iis) """ - df_var = dict( + iis_var = dict( self.get_data( "{i in 1.._nvars: _var[i].iis != 'non'} (_varname[i], _var[i].iis)" ).to_list(skip_index=True) ) - df_con = dict( + iis_con = dict( self.get_data( "{i in 1.._ncons: _con[i].iis != 'non'} (_conname[i], _con[i].iis)" ).to_list(skip_index=True) ) - return df_var, df_con + return iis_var, iis_con def get_solution(self, flat=True, zeros=False): """ diff --git a/docs/requirements.txt b/docs/requirements.txt index c87da0a..247702b 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,4 +1,4 @@ -amplpy==0.13.3 +amplpy==0.14.0 ampl-sphinx-theme @ git+https://github.com/ampl/ampl.github.io.git#subdirectory=ampl-sphinx-theme sphinx==4.2.0 myst_parser>=0.17.0 diff --git a/setup.py b/setup.py index cf26f96..f6d9a19 100644 --- a/setup.py +++ b/setup.py @@ -165,7 +165,7 @@ def link_args(): setup( name="amplpy", - version="0.14.0b0", + version="0.14.0", description="Python API for AMPL", long_description=__doc__, long_description_content_type="text/markdown",