title: Installing Pyomo on Windows with Anaconda (Python)
body: <p>I would like to solve LP and ILP with <a href="https://software.sandia.gov/trac/coopr/wiki/Pyomo" rel="nofollow noreferrer">Pyomo (Coopr)</a> but unfortunately I am so newbie and I cannot run it properly.</p>
  
  <p>I have already installed Pyomo (Coopr) by following <a href="https://software.sandia.gov/downloads/pub/coopr/CooprInstallGuide.html#Option1" rel="nofollow noreferrer">its instructions</a></p>
  
  <pre><code>pip install Coopr
  </code></pre>
  
  <p>I can import the module without problems:</p>
  
  <pre><code>$ python
  Python 2.7.5 |Anaconda 1.8.0 (64-bit)| ...
  Type "help", "copyright", "credits" or "license" for more information.
  &gt;&gt;&gt; import coopr.pyomo
  &gt;&gt;&gt;
  </code></pre>
  
  <p>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).</p>
  
  <p>I think I have to <a href="http://www.continuum.io/blog/conda" rel="nofollow noreferrer">create an enviroment</a> but I have recently read that there is a better integration now with conda v. 2.1 <a href="https://stackoverflow.com/questions/18640305/how-to-keep-track-of-pip-installed-packages-in-an-anaconda-conda-env">(link)</a></p>
  
  <blockquote>
    <p>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.</p>
  </blockquote>
  
  <p>My final goal is to implement this into an IPython notebook and be able obtain the results as output.</p>
  
  <p>Note: I am trying to run the demo file</p>
  
  <pre><code>pyomo diet1.py diet.dat
  </code></pre>