I would like to solve LP and ILP with Pyomo (Coopr) but unfortunately I am so newbie and I cannot run it properly.
I have already installed Pyomo (Coopr) by following its instructions
pip install Coopr
I can import the module without problems:
$ python
Python 2.7.5 |Anaconda 1.8.0 (64-bit)| ...
Type "help", "copyright", "credits" or "license" for more information.
>>> import coopr.pyomo
>>>
At this point is where I get lost since I can't find the path where in theory I have installed the package (/coopr.pyomo/examples/pyomo/diet).
I think I have to create an enviroment but I have recently read that there is a better integration now with conda v. 2.1 (link)
There is a branch of conda (new-pypi-install) that adds better integration with pip and PyPI. In particular conda list will also show pip installed packages and conda install will first try to find a conda package and failing that will use pip to install the package.
My final goal is to implement this into an IPython notebook and be able obtain the results as output.
Note: I am trying to run the demo file
pyomo diet1.py diet.dat