You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run tests locally, any test that uses Pyomo fails because of a cbc error. I've followed installation instructions and am not sure what causes this issue. Tests pass on GitHub actions but fail on my machine.
How to reproduce
create environment using dependency information below or follow install instructions in README.md
run pytest tests/hopp/test_custom_financial.py::test_hybrid_detailed_pv_with_wind_storage_dispatch
Relevant output
pyomo.common.errors.ApplicationError: Solver (cbc) did not exit normally
../../../opt/anaconda3/envs/hopp_v4/lib/python3.11/site-packages/pyomo/opt/base/solvers.py:628: ApplicationError
pyomo.opt:solvers.py:620 Solver (cbc) returned non-zero return code (-6)
System Information
OS: macOS Ventura 13.7.2
Python version: 3.11.11
HOPP version: 3.0
Installed from source using an editable installation with developer tools: pip install -e .[develop]
Cbc version error with dispatch for local runs
When I run tests locally, any test that uses Pyomo fails because of a cbc error. I've followed installation instructions and am not sure what causes this issue. Tests pass on GitHub actions but fail on my machine.
How to reproduce
pytest tests/hopp/test_custom_financial.py::test_hybrid_detailed_pv_with_wind_storage_dispatch
Relevant output
System Information
pip install -e .[develop]
Relevant library versions
Below is the environment file for my conda environment.
The text was updated successfully, but these errors were encountered: