Open
Description
I have a working installation of Pyomo. I now want to install some solvers following the instructions at
https://pyomo.readthedocs.io/en/latest/installation.html#using-conda
I installed the standard solvers with
conda install -c conda-forge ipopt coincbc glpk
Collecting package metadata: done
Solving environment: done
Package Plan
environment location: /home/andre/anaconda3
added / updated specs:
- coincbc
- glpk
- ipopt
The following packages will be UPDATED:
glpk pkgs/main::glpk-4.65-h3ceedfd_2 --> conda-forge::glpk-4.65-ha14ba45_1001
Proceed ([y]/n)?
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
``
I then run
``
pyomo test-solvers
``
and get
``
Traceback (most recent call last):
File "/home/andre/anaconda3/bin/pyomo", line 11, in <module>
sys.exit(main())
File "/home/andre/anaconda3/lib/python3.6/site-packages/pyomo/scripting/pyomo_main.py", line 82, in main
retval = _options.func(_options)
File "/home/andre/anaconda3/lib/python3.6/site-packages/pyomo/opt/plugins/driver.py", line 31, in test_exec
pyomo.solvers.tests.testcases.run_test_scenarios(options)
File "/home/andre/anaconda3/lib/python3.6/site-packages/pyomo/solvers/tests/testcases.py", line 353, in run_test_scenarios
rc = model_class.validate_current_solution(suffixes=model_class.test_suffixes)
File "/home/andre/anaconda3/lib/python3.6/site-packages/pyomo/solvers/tests/models/base.py", line 205, in validate_current_solution
with open(self.results_file,'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/andre/anaconda3/lib/python3.6/site-packages/pyomo/solvers/tests/models/LP_block.json'`
Sure enough, the file is not there
~/anaconda3/lib/python3.6/site-packages/pyomo/solvers/tests/models$ ls
base.py
LP_unique_duals.py
__init__.py
LP_unused_vars.py
LP_block.py
MILP_discrete_var_bounds.py
MILP_infeasible1.py
LP_constant_objective1.py
MILP_simple.py
LP_constant_objective2.py
MILP_unbounded.py
LP_duals_maximize.py
MILP_unused_vars.py
LP_duals_minimize.py
MIQCP_simple.py
LP_inactive_index.py
MIQP_simple.py
LP_infeasible1.py
__pycache__
LP_infeasible2.py
QCP_simple.py
LP_piecewise.py
QP_constant_objective.py
LP_simple.py
QP_simple.py
LP_trivial_constraints.py
SOS1_simple.py
LP_unbounded.py
SOS2_simple.py