Add setup.py for easy installation#4
Add setup.py for easy installation#4jr-42 wants to merge 2 commits intotum-ewk:masterfrom jr-42:add_setuppy_for_easy_installation
Conversation
|
Should there be a version requirement on pyomo? Three years ago, I used to work with pyomo 5.6.1 which no longer works unless we explicitly revert also to PyUtilib=5.6.5 Working with a newer version of pyomo=5.7.3, there would be bugs in writing the report files in Excel (functions report(prob, result_dir) & get_entities & _get_onset_names ), because of pyomo related changes (some domain name are 'Any' instead of 'None', which bugged an if statement in ficus's code). And I also got issues related to xlrd and openpyxel (empty dataframes not handled in the same way). Lasty, changes in pandas: as_matrix can be replaced by to_numpy |
|
I came across this Pyomo error with the 'Any's and the 'None'. I did a little workaround in the if loop but I will test if changing the version of pyomo works. Will change as_matrix to to_numpy. |
Added a setup.py and requirements in order to be able to install locally.
Included changes to ficus code from PR #3