Skip to content

Instantly share code, notes, and snippets.

@joynal
Created September 14, 2021 06:23
Show Gist options
  • Save joynal/20c06ce76cf4b3e3206160a78ed32409 to your computer and use it in GitHub Desktop.
Save joynal/20c06ce76cf4b3e3206160a78ed32409 to your computer and use it in GitHub Desktop.
12:22:00.067 ERROR: //lengor/models/farm_model/features:broiler_feeds_feature failed:
Expected: <0>
but: was <6>
Fail: //lengor/models/farm_model/features:broiler_feeds_feature 0 passed 0 skipped 6 failed 1 errored Took 16.77s
Failure: AssertionError in starter only orders
Expected: <0>
but: was <6>
Failing step: Then it should provide me with valid solutions ... failed in 0.002s
Location: lengor/models/farm_model/features/broiler_feeds.feature:15
Assertion Failed:
Expected: <0>
but: was <6>
Captured stdout:
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x1096d5dc0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {83a0ec9e-75ff-4154-a7ca-7d809ad83962}.'],
'inputs': '{"region":1,"days_requested":9,"age_at_slaughter_days":50,"chicken_amount":100,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x1096d5eb0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {12227be9-7086-4301-816b-e876ab39948b}.'],
'inputs': '{"region":35,"days_requested":5,"age_at_slaughter_days":55,"chicken_amount":500,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x1096d5e80>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {71e465b2-bc55-43b6-a527-809e31c1963c}.'],
'inputs': '{"region":3,"days_requested":1,"age_at_slaughter_days":147,"chicken_amount":1000,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x1096d5dc0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {e2d31de3-a367-485b-b371-da8a60c718ce}.'],
'inputs': '{"region":37,"days_requested":9,"age_at_slaughter_days":44,"chicken_amount":2000,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x1096d5eb0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {49ebcaaa-5443-4d9b-983c-de5e55fa1fbe}.'],
'inputs': '{"region":17,"days_requested":9,"age_at_slaughter_days":156,"chicken_amount":5000,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x1096d5e80>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {40e67960-5bc3-4826-8fe5-1828f365c5a4}.'],
'inputs': '{"region":19,"days_requested":9,"age_at_slaughter_days":180,"chicken_amount":9999,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
Captured logging:
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {83a0ec9e-75ff-4154-a7ca-7d809ad83962}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {12227be9-7086-4301-816b-e876ab39948b}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {71e465b2-bc55-43b6-a527-809e31c1963c}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {e2d31de3-a367-485b-b371-da8a60c718ce}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {49ebcaaa-5443-4d9b-983c-de5e55fa1fbe}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {40e67960-5bc3-4826-8fe5-1828f365c5a4}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
Standard output:
@scenario.begin
Scenario: starter only orders
Given I have multiple orders ... passed in 0.003s
| name | chicken_amount | chicken_age_days | chicken_type | region | days_requested | age_at_slaughter_days |
| 1 | 100 | 1 | broiler | 1 | 9 | 50 |
| 2 | 500 | 1 | broiler | 35 | 5 | 55 |
| 3 | 1000 | 1 | broiler | 3 | 1 | 147 |
| 4 | 2000 | 1 | broiler | 37 | 9 | 44 |
| 5 | 5000 | 1 | broiler | 17 | 9 | 156 |
| 6 | 9999 | 1 | broiler | 19 | 9 | 180 |
When I run the farm_model ... passed in 1.110s
Then it should provide me with valid solutions ... failed in 0.002s
@scenario.end
--------------------------------------------------------------------------------
Captured stdout:
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x1096d5dc0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {83a0ec9e-75ff-4154-a7ca-7d809ad83962}.'],
'inputs': '{"region":1,"days_requested":9,"age_at_slaughter_days":50,"chicken_amount":100,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x1096d5eb0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {12227be9-7086-4301-816b-e876ab39948b}.'],
'inputs': '{"region":35,"days_requested":5,"age_at_slaughter_days":55,"chicken_amount":500,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x1096d5e80>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {71e465b2-bc55-43b6-a527-809e31c1963c}.'],
'inputs': '{"region":3,"days_requested":1,"age_at_slaughter_days":147,"chicken_amount":1000,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x1096d5dc0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {e2d31de3-a367-485b-b371-da8a60c718ce}.'],
'inputs': '{"region":37,"days_requested":9,"age_at_slaughter_days":44,"chicken_amount":2000,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x1096d5eb0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {49ebcaaa-5443-4d9b-983c-de5e55fa1fbe}.'],
'inputs': '{"region":17,"days_requested":9,"age_at_slaughter_days":156,"chicken_amount":5000,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x1096d5e80>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {40e67960-5bc3-4826-8fe5-1828f365c5a4}.'],
'inputs': '{"region":19,"days_requested":9,"age_at_slaughter_days":180,"chicken_amount":9999,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
Failure: AssertionError in grower only orders
Expected: <0>
but: was <6>
Failing step: Then it should provide me with valid solutions ... failed in 0.002s
Location: lengor/models/farm_model/features/broiler_feeds.feature:27
Assertion Failed:
Expected: <0>
but: was <6>
Captured stdout:
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x109c0c640>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {95320129-c164-4b52-ae63-dfa8512673c1}.'],
'inputs': '{"region":1,"days_requested":30,"age_at_slaughter_days":50,"chicken_amount":100,"chicken_type":"broiler","chicken_age_days":11}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x109c0c670>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {7200327b-2760-4690-98f3-92017e7ef849}.'],
'inputs': '{"region":35,"days_requested":35,"age_at_slaughter_days":55,"chicken_amount":500,"chicken_type":"broiler","chicken_age_days":12}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x109c0c520>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {29e58f36-5c78-4af5-b5a4-683c4f9d9752}.'],
'inputs': '{"region":3,"days_requested":130,"age_at_slaughter_days":147,"chicken_amount":1000,"chicken_type":"broiler","chicken_age_days":13}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x109c0c640>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {8cc0df86-f42c-4ef2-93d6-ae81f35ef451}.'],
'inputs': '{"region":37,"days_requested":20,"age_at_slaughter_days":44,"chicken_amount":2000,"chicken_type":"broiler","chicken_age_days":14}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x109c0c670>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {222e7dc2-6b9a-4643-be6b-ea1472b9de58}.'],
'inputs': '{"region":17,"days_requested":130,"age_at_slaughter_days":156,"chicken_amount":5000,"chicken_type":"broiler","chicken_age_days":15}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x109c0c520>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {3335ea60-a3c1-4565-b4e8-58cec3235d3f}.'],
'inputs': '{"region":19,"days_requested":160,"age_at_slaughter_days":180,"chicken_amount":9999,"chicken_type":"broiler","chicken_age_days":16}',
'run_result': None,
'solver_results': None}
None
Captured logging:
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {95320129-c164-4b52-ae63-dfa8512673c1}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {7200327b-2760-4690-98f3-92017e7ef849}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {29e58f36-5c78-4af5-b5a4-683c4f9d9752}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {8cc0df86-f42c-4ef2-93d6-ae81f35ef451}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {222e7dc2-6b9a-4643-be6b-ea1472b9de58}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {3335ea60-a3c1-4565-b4e8-58cec3235d3f}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
Standard output:
@scenario.begin
Scenario: grower only orders
Given I have multiple orders ... passed in 0.002s
| name | chicken_amount | chicken_age_days | chicken_type | region | days_requested | age_at_slaughter_days |
| 1 | 100 | 11 | broiler | 1 | 30 | 50 |
| 2 | 500 | 12 | broiler | 35 | 35 | 55 |
| 3 | 1000 | 13 | broiler | 3 | 130 | 147 |
| 4 | 2000 | 14 | broiler | 37 | 20 | 44 |
| 5 | 5000 | 15 | broiler | 17 | 130 | 156 |
| 6 | 9999 | 16 | broiler | 19 | 160 | 180 |
When I run the farm_model ... passed in 0.517s
Then it should provide me with valid solutions ... failed in 0.002s
@scenario.end
--------------------------------------------------------------------------------
Captured stdout:
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x109c0c640>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {95320129-c164-4b52-ae63-dfa8512673c1}.'],
'inputs': '{"region":1,"days_requested":30,"age_at_slaughter_days":50,"chicken_amount":100,"chicken_type":"broiler","chicken_age_days":11}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x109c0c670>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {7200327b-2760-4690-98f3-92017e7ef849}.'],
'inputs': '{"region":35,"days_requested":35,"age_at_slaughter_days":55,"chicken_amount":500,"chicken_type":"broiler","chicken_age_days":12}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x109c0c520>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {29e58f36-5c78-4af5-b5a4-683c4f9d9752}.'],
'inputs': '{"region":3,"days_requested":130,"age_at_slaughter_days":147,"chicken_amount":1000,"chicken_type":"broiler","chicken_age_days":13}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x109c0c640>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {8cc0df86-f42c-4ef2-93d6-ae81f35ef451}.'],
'inputs': '{"region":37,"days_requested":20,"age_at_slaughter_days":44,"chicken_amount":2000,"chicken_type":"broiler","chicken_age_days":14}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x109c0c670>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {222e7dc2-6b9a-4643-be6b-ea1472b9de58}.'],
'inputs': '{"region":17,"days_requested":130,"age_at_slaughter_days":156,"chicken_amount":5000,"chicken_type":"broiler","chicken_age_days":15}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x109c0c520>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {3335ea60-a3c1-4565-b4e8-58cec3235d3f}.'],
'inputs': '{"region":19,"days_requested":160,"age_at_slaughter_days":180,"chicken_amount":9999,"chicken_type":"broiler","chicken_age_days":16}',
'run_result': None,
'solver_results': None}
None
Failure: AssertionError in finisher only orders
Expected: <0>
but: was <6>
Failing step: Then it should provide me with valid solutions ... failed in 0.002s
Location: lengor/models/farm_model/features/broiler_feeds.feature:39
Assertion Failed:
Expected: <0>
but: was <6>
Captured stdout:
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x109aa6280>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {76cd4649-bdd4-4200-99d7-200709d47ae1}.'],
'inputs': '{"region":1,"days_requested":30,"age_at_slaughter_days":50,"chicken_amount":100,"chicken_type":"broiler","chicken_age_days":44}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x109aa6370>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {e6830f31-f3b3-44ec-922e-45f58c5ad942}.'],
'inputs': '{"region":35,"days_requested":30,"age_at_slaughter_days":55,"chicken_amount":500,"chicken_type":"broiler","chicken_age_days":49}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x109aa6340>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {f206eba6-6246-4a7a-9a34-4359569092f3}.'],
'inputs': '{"region":3,"days_requested":30,"age_at_slaughter_days":147,"chicken_amount":1000,"chicken_type":"broiler","chicken_age_days":140}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x109aa6280>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {3ed732e9-63b5-481f-8505-dd2dbb682d61}.'],
'inputs': '{"region":37,"days_requested":30,"age_at_slaughter_days":44,"chicken_amount":2000,"chicken_type":"broiler","chicken_age_days":37}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x109aa6370>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {c0e87489-4199-4447-bbb8-78630f61f029}.'],
'inputs': '{"region":17,"days_requested":30,"age_at_slaughter_days":156,"chicken_amount":5000,"chicken_type":"broiler","chicken_age_days":150}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x109aa6340>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {ea6028a0-6f19-4fab-a720-a85d24ab3b83}.'],
'inputs': '{"region":19,"days_requested":5,"age_at_slaughter_days":180,"chicken_amount":9999,"chicken_type":"broiler","chicken_age_days":175}',
'run_result': None,
'solver_results': None}
None
Captured logging:
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {76cd4649-bdd4-4200-99d7-200709d47ae1}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {e6830f31-f3b3-44ec-922e-45f58c5ad942}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {f206eba6-6246-4a7a-9a34-4359569092f3}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {3ed732e9-63b5-481f-8505-dd2dbb682d61}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {c0e87489-4199-4447-bbb8-78630f61f029}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {ea6028a0-6f19-4fab-a720-a85d24ab3b83}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
Standard output:
@scenario.begin
Scenario: finisher only orders
Given I have multiple orders ... passed in 0.002s
| name | chicken_amount | chicken_age_days | chicken_type | region | days_requested | age_at_slaughter_days |
| 1 | 100 | 44 | broiler | 1 | 30 | 50 |
| 2 | 500 | 49 | broiler | 35 | 30 | 55 |
| 3 | 1000 | 140 | broiler | 3 | 30 | 147 |
| 4 | 2000 | 37 | broiler | 37 | 30 | 44 |
| 5 | 5000 | 150 | broiler | 17 | 30 | 156 |
| 6 | 9999 | 175 | broiler | 19 | 5 | 180 |
When I run the farm_model ... passed in 0.571s
Then it should provide me with valid solutions ... failed in 0.002s
@scenario.end
--------------------------------------------------------------------------------
Captured stdout:
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x109aa6280>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {76cd4649-bdd4-4200-99d7-200709d47ae1}.'],
'inputs': '{"region":1,"days_requested":30,"age_at_slaughter_days":50,"chicken_amount":100,"chicken_type":"broiler","chicken_age_days":44}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x109aa6370>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {e6830f31-f3b3-44ec-922e-45f58c5ad942}.'],
'inputs': '{"region":35,"days_requested":30,"age_at_slaughter_days":55,"chicken_amount":500,"chicken_type":"broiler","chicken_age_days":49}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x109aa6340>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {f206eba6-6246-4a7a-9a34-4359569092f3}.'],
'inputs': '{"region":3,"days_requested":30,"age_at_slaughter_days":147,"chicken_amount":1000,"chicken_type":"broiler","chicken_age_days":140}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x109aa6280>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {3ed732e9-63b5-481f-8505-dd2dbb682d61}.'],
'inputs': '{"region":37,"days_requested":30,"age_at_slaughter_days":44,"chicken_amount":2000,"chicken_type":"broiler","chicken_age_days":37}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x109aa6370>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {c0e87489-4199-4447-bbb8-78630f61f029}.'],
'inputs': '{"region":17,"days_requested":30,"age_at_slaughter_days":156,"chicken_amount":5000,"chicken_type":"broiler","chicken_age_days":150}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x109aa6340>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {ea6028a0-6f19-4fab-a720-a85d24ab3b83}.'],
'inputs': '{"region":19,"days_requested":5,"age_at_slaughter_days":180,"chicken_amount":9999,"chicken_type":"broiler","chicken_age_days":175}',
'run_result': None,
'solver_results': None}
None
Failure: AssertionError in starter+grower orders
Expected: <0>
but: was <6>
Failing step: Then it should provide me with valid solutions ... failed in 0.002s
Location: lengor/models/farm_model/features/broiler_feeds.feature:51
Assertion Failed:
Expected: <0>
but: was <6>
Captured stdout:
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x10977a3d0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {c3037b45-a431-408d-92af-20a6027094e7}.'],
'inputs': '{"region":1,"days_requested":40,"age_at_slaughter_days":50,"chicken_amount":100,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x10977a4c0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {651726ac-7de3-4e5e-8493-7ea2926ce4c2}.'],
'inputs': '{"region":35,"days_requested":47,"age_at_slaughter_days":55,"chicken_amount":500,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x10977a490>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {ecf2f04c-7057-452e-b356-7857b995ab51}.'],
'inputs': '{"region":3,"days_requested":140,"age_at_slaughter_days":147,"chicken_amount":1000,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x10977a3d0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {b1f6de80-b6d0-4787-9a5e-5feeed816339}.'],
'inputs': '{"region":37,"days_requested":35,"age_at_slaughter_days":44,"chicken_amount":2000,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x10977a4c0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {b5bb6101-3057-4b54-9795-0ba2372aeb74}.'],
'inputs': '{"region":17,"days_requested":148,"age_at_slaughter_days":156,"chicken_amount":5000,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x10977a490>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {8d5af81d-f5d9-4dfc-b34a-6605214e60c6}.'],
'inputs': '{"region":19,"days_requested":170,"age_at_slaughter_days":180,"chicken_amount":9999,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
Captured logging:
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {c3037b45-a431-408d-92af-20a6027094e7}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {651726ac-7de3-4e5e-8493-7ea2926ce4c2}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {ecf2f04c-7057-452e-b356-7857b995ab51}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {b1f6de80-b6d0-4787-9a5e-5feeed816339}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {b5bb6101-3057-4b54-9795-0ba2372aeb74}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {8d5af81d-f5d9-4dfc-b34a-6605214e60c6}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
Standard output:
@scenario.begin
Scenario: starter+grower orders
Given I have multiple orders ... passed in 0.002s
| name | chicken_amount | chicken_age_days | chicken_type | region | days_requested | age_at_slaughter_days |
| 1 | 100 | 1 | broiler | 1 | 40 | 50 |
| 2 | 500 | 1 | broiler | 35 | 47 | 55 |
| 3 | 1000 | 1 | broiler | 3 | 140 | 147 |
| 4 | 2000 | 1 | broiler | 37 | 35 | 44 |
| 5 | 5000 | 1 | broiler | 17 | 148 | 156 |
| 6 | 9999 | 1 | broiler | 19 | 170 | 180 |
When I run the farm_model ... passed in 0.605s
Then it should provide me with valid solutions ... failed in 0.002s
@scenario.end
--------------------------------------------------------------------------------
Captured stdout:
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x10977a3d0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {c3037b45-a431-408d-92af-20a6027094e7}.'],
'inputs': '{"region":1,"days_requested":40,"age_at_slaughter_days":50,"chicken_amount":100,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x10977a4c0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {651726ac-7de3-4e5e-8493-7ea2926ce4c2}.'],
'inputs': '{"region":35,"days_requested":47,"age_at_slaughter_days":55,"chicken_amount":500,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x10977a490>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {ecf2f04c-7057-452e-b356-7857b995ab51}.'],
'inputs': '{"region":3,"days_requested":140,"age_at_slaughter_days":147,"chicken_amount":1000,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x10977a3d0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {b1f6de80-b6d0-4787-9a5e-5feeed816339}.'],
'inputs': '{"region":37,"days_requested":35,"age_at_slaughter_days":44,"chicken_amount":2000,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x10977a4c0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {b5bb6101-3057-4b54-9795-0ba2372aeb74}.'],
'inputs': '{"region":17,"days_requested":148,"age_at_slaughter_days":156,"chicken_amount":5000,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x10977a490>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {8d5af81d-f5d9-4dfc-b34a-6605214e60c6}.'],
'inputs': '{"region":19,"days_requested":170,"age_at_slaughter_days":180,"chicken_amount":9999,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
Failure: AssertionError in grower+finisher orders
Expected: <0>
but: was <6>
Failing step: Then it should provide me with valid solutions ... failed in 0.002s
Location: lengor/models/farm_model/features/broiler_feeds.feature:63
Assertion Failed:
Expected: <0>
but: was <6>
Captured stdout:
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x10959a1f0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {c131be88-dbb7-4aca-98eb-661c636dd5a3}.'],
'inputs': '{"region":1,"days_requested":50,"age_at_slaughter_days":50,"chicken_amount":100,"chicken_type":"broiler","chicken_age_days":11}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x10959a2e0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {93f59ccd-6e63-43c0-8a96-4231d6842ca7}.'],
'inputs': '{"region":35,"days_requested":55,"age_at_slaughter_days":55,"chicken_amount":500,"chicken_type":"broiler","chicken_age_days":12}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x10959a2b0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {99a419d2-e523-443d-8fa3-c26162db7dd3}.'],
'inputs': '{"region":3,"days_requested":147,"age_at_slaughter_days":147,"chicken_amount":1000,"chicken_type":"broiler","chicken_age_days":13}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x10959a1f0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {50a9f4b3-2a8e-4fbd-92f4-40f58537e5d7}.'],
'inputs': '{"region":37,"days_requested":44,"age_at_slaughter_days":44,"chicken_amount":2000,"chicken_type":"broiler","chicken_age_days":14}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x10959a2e0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {df014e6c-ff62-4621-8bfb-80e6085847b4}.'],
'inputs': '{"region":17,"days_requested":156,"age_at_slaughter_days":156,"chicken_amount":5000,"chicken_type":"broiler","chicken_age_days":15}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x10959a2b0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {a96b3442-4b5a-4375-b04a-0ad066050ebc}.'],
'inputs': '{"region":19,"days_requested":180,"age_at_slaughter_days":180,"chicken_amount":9999,"chicken_type":"broiler","chicken_age_days":16}',
'run_result': None,
'solver_results': None}
None
Captured logging:
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {c131be88-dbb7-4aca-98eb-661c636dd5a3}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {93f59ccd-6e63-43c0-8a96-4231d6842ca7}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {99a419d2-e523-443d-8fa3-c26162db7dd3}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {50a9f4b3-2a8e-4fbd-92f4-40f58537e5d7}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {df014e6c-ff62-4621-8bfb-80e6085847b4}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {a96b3442-4b5a-4375-b04a-0ad066050ebc}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
Standard output:
@scenario.begin
Scenario: grower+finisher orders
Given I have multiple orders ... passed in 0.002s
| name | chicken_amount | chicken_age_days | chicken_type | region | days_requested | age_at_slaughter_days |
| 1 | 100 | 11 | broiler | 1 | 50 | 50 |
| 2 | 500 | 12 | broiler | 35 | 55 | 55 |
| 3 | 1000 | 13 | broiler | 3 | 147 | 147 |
| 4 | 2000 | 14 | broiler | 37 | 44 | 44 |
| 5 | 5000 | 15 | broiler | 17 | 156 | 156 |
| 6 | 9999 | 16 | broiler | 19 | 180 | 180 |
When I run the farm_model ... passed in 0.519s
Then it should provide me with valid solutions ... failed in 0.002s
@scenario.end
--------------------------------------------------------------------------------
Captured stdout:
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x10959a1f0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {c131be88-dbb7-4aca-98eb-661c636dd5a3}.'],
'inputs': '{"region":1,"days_requested":50,"age_at_slaughter_days":50,"chicken_amount":100,"chicken_type":"broiler","chicken_age_days":11}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x10959a2e0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {93f59ccd-6e63-43c0-8a96-4231d6842ca7}.'],
'inputs': '{"region":35,"days_requested":55,"age_at_slaughter_days":55,"chicken_amount":500,"chicken_type":"broiler","chicken_age_days":12}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x10959a2b0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {99a419d2-e523-443d-8fa3-c26162db7dd3}.'],
'inputs': '{"region":3,"days_requested":147,"age_at_slaughter_days":147,"chicken_amount":1000,"chicken_type":"broiler","chicken_age_days":13}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x10959a1f0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {50a9f4b3-2a8e-4fbd-92f4-40f58537e5d7}.'],
'inputs': '{"region":37,"days_requested":44,"age_at_slaughter_days":44,"chicken_amount":2000,"chicken_type":"broiler","chicken_age_days":14}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x10959a2e0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {df014e6c-ff62-4621-8bfb-80e6085847b4}.'],
'inputs': '{"region":17,"days_requested":156,"age_at_slaughter_days":156,"chicken_amount":5000,"chicken_type":"broiler","chicken_age_days":15}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x10959a2b0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {a96b3442-4b5a-4375-b04a-0ad066050ebc}.'],
'inputs': '{"region":19,"days_requested":180,"age_at_slaughter_days":180,"chicken_amount":9999,"chicken_type":"broiler","chicken_age_days":16}',
'run_result': None,
'solver_results': None}
None
Failure: AssertionError in starter+grower+finisher orders
Expected: <0>
but: was <6>
Failing step: Then it should provide me with valid solutions ... failed in 0.002s
Location: lengor/models/farm_model/features/broiler_feeds.feature:75
Assertion Failed:
Expected: <0>
but: was <6>
Captured stdout:
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x1094fd3d0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {349e4c7f-f94b-41f3-9dbc-767a24e61b1a}.'],
'inputs': '{"region":1,"days_requested":50,"age_at_slaughter_days":50,"chicken_amount":100,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x1094fd4c0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {330c9a67-b83f-49ef-a5dd-868a17f6affd}.'],
'inputs': '{"region":35,"days_requested":56,"age_at_slaughter_days":55,"chicken_amount":500,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x1094fd490>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {25c9647d-30e8-4244-8672-534165fa087d}.'],
'inputs': '{"region":3,"days_requested":147,"age_at_slaughter_days":147,"chicken_amount":1000,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x1094fd3d0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {f30526e4-53a4-4e67-91c9-9775a34f5c6d}.'],
'inputs': '{"region":37,"days_requested":45,"age_at_slaughter_days":44,"chicken_amount":2000,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x1094fd4c0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {f6c1139e-797f-42e1-aae0-1804a8f98446}.'],
'inputs': '{"region":17,"days_requested":180,"age_at_slaughter_days":156,"chicken_amount":5000,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x1094fd490>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {47580da9-17c3-46f7-a884-82a90f788191}.'],
'inputs': '{"region":19,"days_requested":180,"age_at_slaughter_days":180,"chicken_amount":9999,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
Captured logging:
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {349e4c7f-f94b-41f3-9dbc-767a24e61b1a}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {330c9a67-b83f-49ef-a5dd-868a17f6affd}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {25c9647d-30e8-4244-8672-534165fa087d}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {f30526e4-53a4-4e67-91c9-9775a34f5c6d}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {f6c1139e-797f-42e1-aae0-1804a8f98446}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {47580da9-17c3-46f7-a884-82a90f788191}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
Standard output:
@scenario.begin
Scenario: starter+grower+finisher orders
Given I have multiple orders ... passed in 0.002s
| name | chicken_amount | chicken_age_days | chicken_type | region | days_requested | age_at_slaughter_days |
| 1 | 100 | 1 | broiler | 1 | 50 | 50 |
| 2 | 500 | 1 | broiler | 35 | 56 | 55 |
| 3 | 1000 | 1 | broiler | 3 | 147 | 147 |
| 4 | 2000 | 1 | broiler | 37 | 45 | 44 |
| 5 | 5000 | 1 | broiler | 17 | 180 | 156 |
| 6 | 9999 | 1 | broiler | 19 | 180 | 180 |
When I run the farm_model ... passed in 0.624s
Then it should provide me with valid solutions ... failed in 0.002s
@scenario.end
--------------------------------------------------------------------------------
Captured stdout:
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x1094fd3d0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {349e4c7f-f94b-41f3-9dbc-767a24e61b1a}.'],
'inputs': '{"region":1,"days_requested":50,"age_at_slaughter_days":50,"chicken_amount":100,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x1094fd4c0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {330c9a67-b83f-49ef-a5dd-868a17f6affd}.'],
'inputs': '{"region":35,"days_requested":56,"age_at_slaughter_days":55,"chicken_amount":500,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x1094fd490>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {25c9647d-30e8-4244-8672-534165fa087d}.'],
'inputs': '{"region":3,"days_requested":147,"age_at_slaughter_days":147,"chicken_amount":1000,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x1094fd3d0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {f30526e4-53a4-4e67-91c9-9775a34f5c6d}.'],
'inputs': '{"region":37,"days_requested":45,"age_at_slaughter_days":44,"chicken_amount":2000,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x1094fd4c0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {f6c1139e-797f-42e1-aae0-1804a8f98446}.'],
'inputs': '{"region":17,"days_requested":180,"age_at_slaughter_days":156,"chicken_amount":5000,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x1094fd490>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {47580da9-17c3-46f7-a884-82a90f788191}.'],
'inputs': '{"region":19,"days_requested":180,"age_at_slaughter_days":180,"chicken_amount":9999,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
Error: ReturnValue in broiler_feeds_feature
Test returned 0 but still reported failures
Standard output:
@all
Feature: Broiler feeds # lengor/models/farm_model/features/broiler_feeds.feature:2
Solver should provide nutritional recipes to the broiler feeds.
Scenario: starter only orders # lengor/models/farm_model/features/broiler_feeds.feature:5
Given I have multiple orders # lengor/models/farm_model/features/steps/order_steps.py:18
| name | chicken_amount | chicken_age_days | chicken_type | region | days_requested | age_at_slaughter_days |
| 1 | 100 | 1 | broiler | 1 | 9 | 50 |
| 2 | 500 | 1 | broiler | 35 | 5 | 55 |
| 3 | 1000 | 1 | broiler | 3 | 1 | 147 |
| 4 | 2000 | 1 | broiler | 37 | 9 | 44 |
| 5 | 5000 | 1 | broiler | 17 | 9 | 156 |
| 6 | 9999 | 1 | broiler | 19 | 9 | 180 |
When I run the farm_model # lengor/models/farm_model/features/steps/solver_steps.py:13
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {83a0ec9e-75ff-4154-a7ca-7d809ad83962}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {12227be9-7086-4301-816b-e876ab39948b}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {71e465b2-bc55-43b6-a527-809e31c1963c}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {e2d31de3-a367-485b-b371-da8a60c718ce}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {49ebcaaa-5443-4d9b-983c-de5e55fa1fbe}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {40e67960-5bc3-4826-8fe5-1828f365c5a4}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING: Failed to create solver with name '_cbc_shell': Failed to set
executable for solver cbc. File with name=../coin-or/bin/cbc either does
not exist or it is not executable. To skip this validation, call
set_executable with validate=False.
WARNING: Failed to create solver with name 'cbc': Attempting to use an
unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell" and
returned an UnknownSolver object. This error is raised at the point where
the UnknownSolver object was used as if it were valid (by calling method
"set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc type: _cbc_shell _args: () options: {}
WARNING: Failed to create solver with name '_cbc_shell': Failed to set
executable for solver cbc. File with name=../coin-or/bin/cbc either does
not exist or it is not executable. To skip this validation, call
set_executable with validate=False.
WARNING: Failed to create solver with name 'cbc': Attempting to use an
unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell" and
returned an UnknownSolver object. This error is raised at the point where
the UnknownSolver object was used as if it were valid (by calling method
"set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc type: _cbc_shell _args: () options: {}
WARNING: Failed to create solver with name '_cbc_shell': Failed to set
executable for solver cbc. File with name=../coin-or/bin/cbc either does
not exist or it is not executable. To skip this validation, call
set_executable with validate=False.
WARNING: Failed to create solver with name 'cbc': Attempting to use an
unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell" and
returned an UnknownSolver object. This error is raised at the point where
the UnknownSolver object was used as if it were valid (by calling method
"set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc type: _cbc_shell _args: () options: {}
WARNING: Failed to create solver with name '_cbc_shell': Failed to set
executable for solver cbc. File with name=../coin-or/bin/cbc either does
not exist or it is not executable. To skip this validation, call
set_executable with validate=False.
WARNING: Failed to create solver with name 'cbc': Attempting to use an
unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell" and
returned an UnknownSolver object. This error is raised at the point where
the UnknownSolver object was used as if it were valid (by calling method
"set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc type: _cbc_shell _args: () options: {}
WARNING: Failed to create solver with name '_cbc_shell': Failed to set
executable for solver cbc. File with name=../coin-or/bin/cbc either does
not exist or it is not executable. To skip this validation, call
set_executable with validate=False.
WARNING: Failed to create solver with name 'cbc': Attempting to use an
unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell" and
returned an UnknownSolver object. This error is raised at the point where
the UnknownSolver object was used as if it were valid (by calling method
"set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc type: _cbc_shell _args: () options: {}
WARNING: Failed to create solver with name '_cbc_shell': Failed to set
executable for solver cbc. File with name=../coin-or/bin/cbc either does
not exist or it is not executable. To skip this validation, call
set_executable with validate=False.
WARNING: Failed to create solver with name 'cbc': Attempting to use an
unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell" and
returned an UnknownSolver object. This error is raised at the point where
the UnknownSolver object was used as if it were valid (by calling method
"set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc type: _cbc_shell _args: () options: {}
Then it should provide me with valid solutions # lengor/models/farm_model/features/steps/solution_steps.py:85
Assertion Failed:
Expected: <0>
but: was <6>
Captured stdout:
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x1096d5dc0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {83a0ec9e-75ff-4154-a7ca-7d809ad83962}.'],
'inputs': '{"region":1,"days_requested":9,"age_at_slaughter_days":50,"chicken_amount":100,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x1096d5eb0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {12227be9-7086-4301-816b-e876ab39948b}.'],
'inputs': '{"region":35,"days_requested":5,"age_at_slaughter_days":55,"chicken_amount":500,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x1096d5e80>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {71e465b2-bc55-43b6-a527-809e31c1963c}.'],
'inputs': '{"region":3,"days_requested":1,"age_at_slaughter_days":147,"chicken_amount":1000,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x1096d5dc0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {e2d31de3-a367-485b-b371-da8a60c718ce}.'],
'inputs': '{"region":37,"days_requested":9,"age_at_slaughter_days":44,"chicken_amount":2000,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x1096d5eb0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {49ebcaaa-5443-4d9b-983c-de5e55fa1fbe}.'],
'inputs': '{"region":17,"days_requested":9,"age_at_slaughter_days":156,"chicken_amount":5000,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x1096d5e80>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {40e67960-5bc3-4826-8fe5-1828f365c5a4}.'],
'inputs': '{"region":19,"days_requested":9,"age_at_slaughter_days":180,"chicken_amount":9999,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
Captured logging:
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {83a0ec9e-75ff-4154-a7ca-7d809ad83962}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {12227be9-7086-4301-816b-e876ab39948b}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {71e465b2-bc55-43b6-a527-809e31c1963c}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {e2d31de3-a367-485b-b371-da8a60c718ce}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {49ebcaaa-5443-4d9b-983c-de5e55fa1fbe}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {40e67960-5bc3-4826-8fe5-1828f365c5a4}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
Scenario: grower only orders # lengor/models/farm_model/features/broiler_feeds.feature:17
Given I have multiple orders # lengor/models/farm_model/features/steps/order_steps.py:18
| name | chicken_amount | chicken_age_days | chicken_type | region | days_requested | age_at_slaughter_days |
| 1 | 100 | 11 | broiler | 1 | 30 | 50 |
| 2 | 500 | 12 | broiler | 35 | 35 | 55 |
| 3 | 1000 | 13 | broiler | 3 | 130 | 147 |
| 4 | 2000 | 14 | broiler | 37 | 20 | 44 |
| 5 | 5000 | 15 | broiler | 17 | 130 | 156 |
| 6 | 9999 | 16 | broiler | 19 | 160 | 180 |
When I run the farm_model # lengor/models/farm_model/features/steps/solver_steps.py:13
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {95320129-c164-4b52-ae63-dfa8512673c1}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {7200327b-2760-4690-98f3-92017e7ef849}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {29e58f36-5c78-4af5-b5a4-683c4f9d9752}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {8cc0df86-f42c-4ef2-93d6-ae81f35ef451}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {222e7dc2-6b9a-4643-be6b-ea1472b9de58}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {3335ea60-a3c1-4565-b4e8-58cec3235d3f}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING: Failed to create solver with name '_cbc_shell': Failed to set
executable for solver cbc. File with name=../coin-or/bin/cbc either does
not exist or it is not executable. To skip this validation, call
set_executable with validate=False.
WARNING: Failed to create solver with name 'cbc': Attempting to use an
unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell" and
returned an UnknownSolver object. This error is raised at the point where
the UnknownSolver object was used as if it were valid (by calling method
"set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc type: _cbc_shell _args: () options: {}
WARNING: Failed to create solver with name '_cbc_shell': Failed to set
executable for solver cbc. File with name=../coin-or/bin/cbc either does
not exist or it is not executable. To skip this validation, call
set_executable with validate=False.
WARNING: Failed to create solver with name 'cbc': Attempting to use an
unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell" and
returned an UnknownSolver object. This error is raised at the point where
the UnknownSolver object was used as if it were valid (by calling method
"set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc type: _cbc_shell _args: () options: {}
WARNING: Failed to create solver with name '_cbc_shell': Failed to set
executable for solver cbc. File with name=../coin-or/bin/cbc either does
not exist or it is not executable. To skip this validation, call
set_executable with validate=False.
WARNING: Failed to create solver with name 'cbc': Attempting to use an
unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell" and
returned an UnknownSolver object. This error is raised at the point where
the UnknownSolver object was used as if it were valid (by calling method
"set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc type: _cbc_shell _args: () options: {}
WARNING: Failed to create solver with name '_cbc_shell': Failed to set
executable for solver cbc. File with name=../coin-or/bin/cbc either does
not exist or it is not executable. To skip this validation, call
set_executable with validate=False.
WARNING: Failed to create solver with name 'cbc': Attempting to use an
unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell" and
returned an UnknownSolver object. This error is raised at the point where
the UnknownSolver object was used as if it were valid (by calling method
"set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc type: _cbc_shell _args: () options: {}
WARNING: Failed to create solver with name '_cbc_shell': Failed to set
executable for solver cbc. File with name=../coin-or/bin/cbc either does
not exist or it is not executable. To skip this validation, call
set_executable with validate=False.
WARNING: Failed to create solver with name 'cbc': Attempting to use an
unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell" and
returned an UnknownSolver object. This error is raised at the point where
the UnknownSolver object was used as if it were valid (by calling method
"set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc type: _cbc_shell _args: () options: {}
WARNING: Failed to create solver with name '_cbc_shell': Failed to set
executable for solver cbc. File with name=../coin-or/bin/cbc either does
not exist or it is not executable. To skip this validation, call
set_executable with validate=False.
WARNING: Failed to create solver with name 'cbc': Attempting to use an
unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell" and
returned an UnknownSolver object. This error is raised at the point where
the UnknownSolver object was used as if it were valid (by calling method
"set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc type: _cbc_shell _args: () options: {}
Then it should provide me with valid solutions # lengor/models/farm_model/features/steps/solution_steps.py:85
Assertion Failed:
Expected: <0>
but: was <6>
Captured stdout:
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x109c0c640>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {95320129-c164-4b52-ae63-dfa8512673c1}.'],
'inputs': '{"region":1,"days_requested":30,"age_at_slaughter_days":50,"chicken_amount":100,"chicken_type":"broiler","chicken_age_days":11}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x109c0c670>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {7200327b-2760-4690-98f3-92017e7ef849}.'],
'inputs': '{"region":35,"days_requested":35,"age_at_slaughter_days":55,"chicken_amount":500,"chicken_type":"broiler","chicken_age_days":12}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x109c0c520>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {29e58f36-5c78-4af5-b5a4-683c4f9d9752}.'],
'inputs': '{"region":3,"days_requested":130,"age_at_slaughter_days":147,"chicken_amount":1000,"chicken_type":"broiler","chicken_age_days":13}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x109c0c640>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {8cc0df86-f42c-4ef2-93d6-ae81f35ef451}.'],
'inputs': '{"region":37,"days_requested":20,"age_at_slaughter_days":44,"chicken_amount":2000,"chicken_type":"broiler","chicken_age_days":14}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x109c0c670>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {222e7dc2-6b9a-4643-be6b-ea1472b9de58}.'],
'inputs': '{"region":17,"days_requested":130,"age_at_slaughter_days":156,"chicken_amount":5000,"chicken_type":"broiler","chicken_age_days":15}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x109c0c520>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {3335ea60-a3c1-4565-b4e8-58cec3235d3f}.'],
'inputs': '{"region":19,"days_requested":160,"age_at_slaughter_days":180,"chicken_amount":9999,"chicken_type":"broiler","chicken_age_days":16}',
'run_result': None,
'solver_results': None}
None
Captured logging:
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {95320129-c164-4b52-ae63-dfa8512673c1}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {7200327b-2760-4690-98f3-92017e7ef849}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {29e58f36-5c78-4af5-b5a4-683c4f9d9752}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {8cc0df86-f42c-4ef2-93d6-ae81f35ef451}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {222e7dc2-6b9a-4643-be6b-ea1472b9de58}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {3335ea60-a3c1-4565-b4e8-58cec3235d3f}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
Scenario: finisher only orders # lengor/models/farm_model/features/broiler_feeds.feature:29
Given I have multiple orders # lengor/models/farm_model/features/steps/order_steps.py:18
| name | chicken_amount | chicken_age_days | chicken_type | region | days_requested | age_at_slaughter_days |
| 1 | 100 | 44 | broiler | 1 | 30 | 50 |
| 2 | 500 | 49 | broiler | 35 | 30 | 55 |
| 3 | 1000 | 140 | broiler | 3 | 30 | 147 |
| 4 | 2000 | 37 | broiler | 37 | 30 | 44 |
| 5 | 5000 | 150 | broiler | 17 | 30 | 156 |
| 6 | 9999 | 175 | broiler | 19 | 5 | 180 |
When I run the farm_model # lengor/models/farm_model/features/steps/solver_steps.py:13
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {76cd4649-bdd4-4200-99d7-200709d47ae1}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {e6830f31-f3b3-44ec-922e-45f58c5ad942}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {f206eba6-6246-4a7a-9a34-4359569092f3}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {3ed732e9-63b5-481f-8505-dd2dbb682d61}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {c0e87489-4199-4447-bbb8-78630f61f029}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {ea6028a0-6f19-4fab-a720-a85d24ab3b83}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING: Failed to create solver with name '_cbc_shell': Failed to set
executable for solver cbc. File with name=../coin-or/bin/cbc either does
not exist or it is not executable. To skip this validation, call
set_executable with validate=False.
WARNING: Failed to create solver with name 'cbc': Attempting to use an
unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell" and
returned an UnknownSolver object. This error is raised at the point where
the UnknownSolver object was used as if it were valid (by calling method
"set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc type: _cbc_shell _args: () options: {}
WARNING: Failed to create solver with name '_cbc_shell': Failed to set
executable for solver cbc. File with name=../coin-or/bin/cbc either does
not exist or it is not executable. To skip this validation, call
set_executable with validate=False.
WARNING: Failed to create solver with name 'cbc': Attempting to use an
unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell" and
returned an UnknownSolver object. This error is raised at the point where
the UnknownSolver object was used as if it were valid (by calling method
"set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc type: _cbc_shell _args: () options: {}
WARNING: Failed to create solver with name '_cbc_shell': Failed to set
executable for solver cbc. File with name=../coin-or/bin/cbc either does
not exist or it is not executable. To skip this validation, call
set_executable with validate=False.
WARNING: Failed to create solver with name 'cbc': Attempting to use an
unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell" and
returned an UnknownSolver object. This error is raised at the point where
the UnknownSolver object was used as if it were valid (by calling method
"set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc type: _cbc_shell _args: () options: {}
WARNING: Failed to create solver with name '_cbc_shell': Failed to set
executable for solver cbc. File with name=../coin-or/bin/cbc either does
not exist or it is not executable. To skip this validation, call
set_executable with validate=False.
WARNING: Failed to create solver with name 'cbc': Attempting to use an
unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell" and
returned an UnknownSolver object. This error is raised at the point where
the UnknownSolver object was used as if it were valid (by calling method
"set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc type: _cbc_shell _args: () options: {}
WARNING: Failed to create solver with name '_cbc_shell': Failed to set
executable for solver cbc. File with name=../coin-or/bin/cbc either does
not exist or it is not executable. To skip this validation, call
set_executable with validate=False.
WARNING: Failed to create solver with name 'cbc': Attempting to use an
unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell" and
returned an UnknownSolver object. This error is raised at the point where
the UnknownSolver object was used as if it were valid (by calling method
"set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc type: _cbc_shell _args: () options: {}
WARNING: Failed to create solver with name '_cbc_shell': Failed to set
executable for solver cbc. File with name=../coin-or/bin/cbc either does
not exist or it is not executable. To skip this validation, call
set_executable with validate=False.
WARNING: Failed to create solver with name 'cbc': Attempting to use an
unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell" and
returned an UnknownSolver object. This error is raised at the point where
the UnknownSolver object was used as if it were valid (by calling method
"set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc type: _cbc_shell _args: () options: {}
Then it should provide me with valid solutions # lengor/models/farm_model/features/steps/solution_steps.py:85
Assertion Failed:
Expected: <0>
but: was <6>
Captured stdout:
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x109aa6280>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {76cd4649-bdd4-4200-99d7-200709d47ae1}.'],
'inputs': '{"region":1,"days_requested":30,"age_at_slaughter_days":50,"chicken_amount":100,"chicken_type":"broiler","chicken_age_days":44}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x109aa6370>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {e6830f31-f3b3-44ec-922e-45f58c5ad942}.'],
'inputs': '{"region":35,"days_requested":30,"age_at_slaughter_days":55,"chicken_amount":500,"chicken_type":"broiler","chicken_age_days":49}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x109aa6340>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {f206eba6-6246-4a7a-9a34-4359569092f3}.'],
'inputs': '{"region":3,"days_requested":30,"age_at_slaughter_days":147,"chicken_amount":1000,"chicken_type":"broiler","chicken_age_days":140}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x109aa6280>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {3ed732e9-63b5-481f-8505-dd2dbb682d61}.'],
'inputs': '{"region":37,"days_requested":30,"age_at_slaughter_days":44,"chicken_amount":2000,"chicken_type":"broiler","chicken_age_days":37}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x109aa6370>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {c0e87489-4199-4447-bbb8-78630f61f029}.'],
'inputs': '{"region":17,"days_requested":30,"age_at_slaughter_days":156,"chicken_amount":5000,"chicken_type":"broiler","chicken_age_days":150}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x109aa6340>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {ea6028a0-6f19-4fab-a720-a85d24ab3b83}.'],
'inputs': '{"region":19,"days_requested":5,"age_at_slaughter_days":180,"chicken_amount":9999,"chicken_type":"broiler","chicken_age_days":175}',
'run_result': None,
'solver_results': None}
None
Captured logging:
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {76cd4649-bdd4-4200-99d7-200709d47ae1}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {e6830f31-f3b3-44ec-922e-45f58c5ad942}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {f206eba6-6246-4a7a-9a34-4359569092f3}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {3ed732e9-63b5-481f-8505-dd2dbb682d61}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {c0e87489-4199-4447-bbb8-78630f61f029}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {ea6028a0-6f19-4fab-a720-a85d24ab3b83}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
Scenario: starter+grower orders # lengor/models/farm_model/features/broiler_feeds.feature:41
Given I have multiple orders # lengor/models/farm_model/features/steps/order_steps.py:18
| name | chicken_amount | chicken_age_days | chicken_type | region | days_requested | age_at_slaughter_days |
| 1 | 100 | 1 | broiler | 1 | 40 | 50 |
| 2 | 500 | 1 | broiler | 35 | 47 | 55 |
| 3 | 1000 | 1 | broiler | 3 | 140 | 147 |
| 4 | 2000 | 1 | broiler | 37 | 35 | 44 |
| 5 | 5000 | 1 | broiler | 17 | 148 | 156 |
| 6 | 9999 | 1 | broiler | 19 | 170 | 180 |
When I run the farm_model # lengor/models/farm_model/features/steps/solver_steps.py:13
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {c3037b45-a431-408d-92af-20a6027094e7}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {651726ac-7de3-4e5e-8493-7ea2926ce4c2}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {ecf2f04c-7057-452e-b356-7857b995ab51}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {b1f6de80-b6d0-4787-9a5e-5feeed816339}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {b5bb6101-3057-4b54-9795-0ba2372aeb74}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {8d5af81d-f5d9-4dfc-b34a-6605214e60c6}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING: Failed to create solver with name '_cbc_shell': Failed to set
executable for solver cbc. File with name=../coin-or/bin/cbc either does
not exist or it is not executable. To skip this validation, call
set_executable with validate=False.
WARNING: Failed to create solver with name 'cbc': Attempting to use an
unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell" and
returned an UnknownSolver object. This error is raised at the point where
the UnknownSolver object was used as if it were valid (by calling method
"set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc type: _cbc_shell _args: () options: {}
WARNING: Failed to create solver with name '_cbc_shell': Failed to set
executable for solver cbc. File with name=../coin-or/bin/cbc either does
not exist or it is not executable. To skip this validation, call
set_executable with validate=False.
WARNING: Failed to create solver with name 'cbc': Attempting to use an
unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell" and
returned an UnknownSolver object. This error is raised at the point where
the UnknownSolver object was used as if it were valid (by calling method
"set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc type: _cbc_shell _args: () options: {}
WARNING: Failed to create solver with name '_cbc_shell': Failed to set
executable for solver cbc. File with name=../coin-or/bin/cbc either does
not exist or it is not executable. To skip this validation, call
set_executable with validate=False.
WARNING: Failed to create solver with name 'cbc': Attempting to use an
unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell" and
returned an UnknownSolver object. This error is raised at the point where
the UnknownSolver object was used as if it were valid (by calling method
"set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc type: _cbc_shell _args: () options: {}
WARNING: Failed to create solver with name '_cbc_shell': Failed to set
executable for solver cbc. File with name=../coin-or/bin/cbc either does
not exist or it is not executable. To skip this validation, call
set_executable with validate=False.
WARNING: Failed to create solver with name 'cbc': Attempting to use an
unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell" and
returned an UnknownSolver object. This error is raised at the point where
the UnknownSolver object was used as if it were valid (by calling method
"set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc type: _cbc_shell _args: () options: {}
WARNING: Failed to create solver with name '_cbc_shell': Failed to set
executable for solver cbc. File with name=../coin-or/bin/cbc either does
not exist or it is not executable. To skip this validation, call
set_executable with validate=False.
WARNING: Failed to create solver with name 'cbc': Attempting to use an
unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell" and
returned an UnknownSolver object. This error is raised at the point where
the UnknownSolver object was used as if it were valid (by calling method
"set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc type: _cbc_shell _args: () options: {}
WARNING: Failed to create solver with name '_cbc_shell': Failed to set
executable for solver cbc. File with name=../coin-or/bin/cbc either does
not exist or it is not executable. To skip this validation, call
set_executable with validate=False.
WARNING: Failed to create solver with name 'cbc': Attempting to use an
unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell" and
returned an UnknownSolver object. This error is raised at the point where
the UnknownSolver object was used as if it were valid (by calling method
"set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc type: _cbc_shell _args: () options: {}
Then it should provide me with valid solutions # lengor/models/farm_model/features/steps/solution_steps.py:85
Assertion Failed:
Expected: <0>
but: was <6>
Captured stdout:
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x10977a3d0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {c3037b45-a431-408d-92af-20a6027094e7}.'],
'inputs': '{"region":1,"days_requested":40,"age_at_slaughter_days":50,"chicken_amount":100,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x10977a4c0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {651726ac-7de3-4e5e-8493-7ea2926ce4c2}.'],
'inputs': '{"region":35,"days_requested":47,"age_at_slaughter_days":55,"chicken_amount":500,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x10977a490>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {ecf2f04c-7057-452e-b356-7857b995ab51}.'],
'inputs': '{"region":3,"days_requested":140,"age_at_slaughter_days":147,"chicken_amount":1000,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x10977a3d0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {b1f6de80-b6d0-4787-9a5e-5feeed816339}.'],
'inputs': '{"region":37,"days_requested":35,"age_at_slaughter_days":44,"chicken_amount":2000,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x10977a4c0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {b5bb6101-3057-4b54-9795-0ba2372aeb74}.'],
'inputs': '{"region":17,"days_requested":148,"age_at_slaughter_days":156,"chicken_amount":5000,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x10977a490>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {8d5af81d-f5d9-4dfc-b34a-6605214e60c6}.'],
'inputs': '{"region":19,"days_requested":170,"age_at_slaughter_days":180,"chicken_amount":9999,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
Captured logging:
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {c3037b45-a431-408d-92af-20a6027094e7}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {651726ac-7de3-4e5e-8493-7ea2926ce4c2}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {ecf2f04c-7057-452e-b356-7857b995ab51}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {b1f6de80-b6d0-4787-9a5e-5feeed816339}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {b5bb6101-3057-4b54-9795-0ba2372aeb74}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {8d5af81d-f5d9-4dfc-b34a-6605214e60c6}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
Scenario: grower+finisher orders # lengor/models/farm_model/features/broiler_feeds.feature:53
Given I have multiple orders # lengor/models/farm_model/features/steps/order_steps.py:18
| name | chicken_amount | chicken_age_days | chicken_type | region | days_requested | age_at_slaughter_days |
| 1 | 100 | 11 | broiler | 1 | 50 | 50 |
| 2 | 500 | 12 | broiler | 35 | 55 | 55 |
| 3 | 1000 | 13 | broiler | 3 | 147 | 147 |
| 4 | 2000 | 14 | broiler | 37 | 44 | 44 |
| 5 | 5000 | 15 | broiler | 17 | 156 | 156 |
| 6 | 9999 | 16 | broiler | 19 | 180 | 180 |
When I run the farm_model # lengor/models/farm_model/features/steps/solver_steps.py:13
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {c131be88-dbb7-4aca-98eb-661c636dd5a3}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {93f59ccd-6e63-43c0-8a96-4231d6842ca7}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {99a419d2-e523-443d-8fa3-c26162db7dd3}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {50a9f4b3-2a8e-4fbd-92f4-40f58537e5d7}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {df014e6c-ff62-4621-8bfb-80e6085847b4}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {a96b3442-4b5a-4375-b04a-0ad066050ebc}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING: Failed to create solver with name '_cbc_shell': Failed to set
executable for solver cbc. File with name=../coin-or/bin/cbc either does
not exist or it is not executable. To skip this validation, call
set_executable with validate=False.
WARNING: Failed to create solver with name 'cbc': Attempting to use an
unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell" and
returned an UnknownSolver object. This error is raised at the point where
the UnknownSolver object was used as if it were valid (by calling method
"set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc type: _cbc_shell _args: () options: {}
WARNING: Failed to create solver with name '_cbc_shell': Failed to set
executable for solver cbc. File with name=../coin-or/bin/cbc either does
not exist or it is not executable. To skip this validation, call
set_executable with validate=False.
WARNING: Failed to create solver with name 'cbc': Attempting to use an
unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell" and
returned an UnknownSolver object. This error is raised at the point where
the UnknownSolver object was used as if it were valid (by calling method
"set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc type: _cbc_shell _args: () options: {}
WARNING: Failed to create solver with name '_cbc_shell': Failed to set
executable for solver cbc. File with name=../coin-or/bin/cbc either does
not exist or it is not executable. To skip this validation, call
set_executable with validate=False.
WARNING: Failed to create solver with name 'cbc': Attempting to use an
unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell" and
returned an UnknownSolver object. This error is raised at the point where
the UnknownSolver object was used as if it were valid (by calling method
"set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc type: _cbc_shell _args: () options: {}
WARNING: Failed to create solver with name '_cbc_shell': Failed to set
executable for solver cbc. File with name=../coin-or/bin/cbc either does
not exist or it is not executable. To skip this validation, call
set_executable with validate=False.
WARNING: Failed to create solver with name 'cbc': Attempting to use an
unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell" and
returned an UnknownSolver object. This error is raised at the point where
the UnknownSolver object was used as if it were valid (by calling method
"set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc type: _cbc_shell _args: () options: {}
WARNING: Failed to create solver with name '_cbc_shell': Failed to set
executable for solver cbc. File with name=../coin-or/bin/cbc either does
not exist or it is not executable. To skip this validation, call
set_executable with validate=False.
WARNING: Failed to create solver with name 'cbc': Attempting to use an
unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell" and
returned an UnknownSolver object. This error is raised at the point where
the UnknownSolver object was used as if it were valid (by calling method
"set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc type: _cbc_shell _args: () options: {}
WARNING: Failed to create solver with name '_cbc_shell': Failed to set
executable for solver cbc. File with name=../coin-or/bin/cbc either does
not exist or it is not executable. To skip this validation, call
set_executable with validate=False.
WARNING: Failed to create solver with name 'cbc': Attempting to use an
unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell" and
returned an UnknownSolver object. This error is raised at the point where
the UnknownSolver object was used as if it were valid (by calling method
"set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc type: _cbc_shell _args: () options: {}
Then it should provide me with valid solutions # lengor/models/farm_model/features/steps/solution_steps.py:85
Assertion Failed:
Expected: <0>
but: was <6>
Captured stdout:
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x10959a1f0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {c131be88-dbb7-4aca-98eb-661c636dd5a3}.'],
'inputs': '{"region":1,"days_requested":50,"age_at_slaughter_days":50,"chicken_amount":100,"chicken_type":"broiler","chicken_age_days":11}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x10959a2e0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {93f59ccd-6e63-43c0-8a96-4231d6842ca7}.'],
'inputs': '{"region":35,"days_requested":55,"age_at_slaughter_days":55,"chicken_amount":500,"chicken_type":"broiler","chicken_age_days":12}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x10959a2b0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {99a419d2-e523-443d-8fa3-c26162db7dd3}.'],
'inputs': '{"region":3,"days_requested":147,"age_at_slaughter_days":147,"chicken_amount":1000,"chicken_type":"broiler","chicken_age_days":13}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x10959a1f0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {50a9f4b3-2a8e-4fbd-92f4-40f58537e5d7}.'],
'inputs': '{"region":37,"days_requested":44,"age_at_slaughter_days":44,"chicken_amount":2000,"chicken_type":"broiler","chicken_age_days":14}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x10959a2e0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {df014e6c-ff62-4621-8bfb-80e6085847b4}.'],
'inputs': '{"region":17,"days_requested":156,"age_at_slaughter_days":156,"chicken_amount":5000,"chicken_type":"broiler","chicken_age_days":15}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x10959a2b0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {a96b3442-4b5a-4375-b04a-0ad066050ebc}.'],
'inputs': '{"region":19,"days_requested":180,"age_at_slaughter_days":180,"chicken_amount":9999,"chicken_type":"broiler","chicken_age_days":16}',
'run_result': None,
'solver_results': None}
None
Captured logging:
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {c131be88-dbb7-4aca-98eb-661c636dd5a3}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {93f59ccd-6e63-43c0-8a96-4231d6842ca7}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {99a419d2-e523-443d-8fa3-c26162db7dd3}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {50a9f4b3-2a8e-4fbd-92f4-40f58537e5d7}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {df014e6c-ff62-4621-8bfb-80e6085847b4}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {a96b3442-4b5a-4375-b04a-0ad066050ebc}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
Scenario: starter+grower+finisher orders # lengor/models/farm_model/features/broiler_feeds.feature:65
Given I have multiple orders # lengor/models/farm_model/features/steps/order_steps.py:18
| name | chicken_amount | chicken_age_days | chicken_type | region | days_requested | age_at_slaughter_days |
| 1 | 100 | 1 | broiler | 1 | 50 | 50 |
| 2 | 500 | 1 | broiler | 35 | 56 | 55 |
| 3 | 1000 | 1 | broiler | 3 | 147 | 147 |
| 4 | 2000 | 1 | broiler | 37 | 45 | 44 |
| 5 | 5000 | 1 | broiler | 17 | 180 | 156 |
| 6 | 9999 | 1 | broiler | 19 | 180 | 180 |
When I run the farm_model # lengor/models/farm_model/features/steps/solver_steps.py:13
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {349e4c7f-f94b-41f3-9dbc-767a24e61b1a}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {330c9a67-b83f-49ef-a5dd-868a17f6affd}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {25c9647d-30e8-4244-8672-534165fa087d}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {f30526e4-53a4-4e67-91c9-9775a34f5c6d}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {f6c1139e-797f-42e1-aae0-1804a8f98446}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {47580da9-17c3-46f7-a884-82a90f788191}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING: Failed to create solver with name '_cbc_shell': Failed to set
executable for solver cbc. File with name=../coin-or/bin/cbc either does
not exist or it is not executable. To skip this validation, call
set_executable with validate=False.
WARNING: Failed to create solver with name 'cbc': Attempting to use an
unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell" and
returned an UnknownSolver object. This error is raised at the point where
the UnknownSolver object was used as if it were valid (by calling method
"set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc type: _cbc_shell _args: () options: {}
WARNING: Failed to create solver with name '_cbc_shell': Failed to set
executable for solver cbc. File with name=../coin-or/bin/cbc either does
not exist or it is not executable. To skip this validation, call
set_executable with validate=False.
WARNING: Failed to create solver with name 'cbc': Attempting to use an
unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell" and
returned an UnknownSolver object. This error is raised at the point where
the UnknownSolver object was used as if it were valid (by calling method
"set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc type: _cbc_shell _args: () options: {}
WARNING: Failed to create solver with name '_cbc_shell': Failed to set
executable for solver cbc. File with name=../coin-or/bin/cbc either does
not exist or it is not executable. To skip this validation, call
set_executable with validate=False.
WARNING: Failed to create solver with name 'cbc': Attempting to use an
unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell" and
returned an UnknownSolver object. This error is raised at the point where
the UnknownSolver object was used as if it were valid (by calling method
"set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc type: _cbc_shell _args: () options: {}
WARNING: Failed to create solver with name '_cbc_shell': Failed to set
executable for solver cbc. File with name=../coin-or/bin/cbc either does
not exist or it is not executable. To skip this validation, call
set_executable with validate=False.
WARNING: Failed to create solver with name 'cbc': Attempting to use an
unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell" and
returned an UnknownSolver object. This error is raised at the point where
the UnknownSolver object was used as if it were valid (by calling method
"set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc type: _cbc_shell _args: () options: {}
WARNING: Failed to create solver with name '_cbc_shell': Failed to set
executable for solver cbc. File with name=../coin-or/bin/cbc either does
not exist or it is not executable. To skip this validation, call
set_executable with validate=False.
WARNING: Failed to create solver with name 'cbc': Attempting to use an
unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell" and
returned an UnknownSolver object. This error is raised at the point where
the UnknownSolver object was used as if it were valid (by calling method
"set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc type: _cbc_shell _args: () options: {}
WARNING: Failed to create solver with name '_cbc_shell': Failed to set
executable for solver cbc. File with name=../coin-or/bin/cbc either does
not exist or it is not executable. To skip this validation, call
set_executable with validate=False.
WARNING: Failed to create solver with name 'cbc': Attempting to use an
unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell" and
returned an UnknownSolver object. This error is raised at the point where
the UnknownSolver object was used as if it were valid (by calling method
"set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc type: _cbc_shell _args: () options: {}
Then it should provide me with valid solutions # lengor/models/farm_model/features/steps/solution_steps.py:85
Assertion Failed:
Expected: <0>
but: was <6>
Captured stdout:
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x1094fd3d0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {349e4c7f-f94b-41f3-9dbc-767a24e61b1a}.'],
'inputs': '{"region":1,"days_requested":50,"age_at_slaughter_days":50,"chicken_amount":100,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x1094fd4c0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {330c9a67-b83f-49ef-a5dd-868a17f6affd}.'],
'inputs': '{"region":35,"days_requested":56,"age_at_slaughter_days":55,"chicken_amount":500,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x1094fd490>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {25c9647d-30e8-4244-8672-534165fa087d}.'],
'inputs': '{"region":3,"days_requested":147,"age_at_slaughter_days":147,"chicken_amount":1000,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x1094fd3d0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {f30526e4-53a4-4e67-91c9-9775a34f5c6d}.'],
'inputs': '{"region":37,"days_requested":45,"age_at_slaughter_days":44,"chicken_amount":2000,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x1094fd4c0>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {f6c1139e-797f-42e1-aae0-1804a8f98446}.'],
'inputs': '{"region":17,"days_requested":180,"age_at_slaughter_days":156,"chicken_amount":5000,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
'----------------------------------------'
{'assertion': AssertionError(<hamcrest.core.string_description.StringDescription object at 0x1094fd490>),
'errors': ['E-MRS-0005. Solver execution error. Model id: {47580da9-17c3-46f7-a884-82a90f788191}.'],
'inputs': '{"region":19,"days_requested":180,"age_at_slaughter_days":180,"chicken_amount":9999,"chicken_type":"broiler","chicken_age_days":1}',
'run_result': None,
'solver_results': None}
None
Captured logging:
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {349e4c7f-f94b-41f3-9dbc-767a24e61b1a}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {330c9a67-b83f-49ef-a5dd-868a17f6affd}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {25c9647d-30e8-4244-8672-534165fa087d}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {f30526e4-53a4-4e67-91c9-9775a34f5c6d}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {f6c1139e-797f-42e1-aae0-1804a8f98446}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
WARNING:pyomo.opt:Failed to create solver with name '_cbc_shell':
Failed to set executable for solver cbc. File with name=../coin-or/bin/cbc either does not exist or it is not executable. To skip this validation, call set_executable with validate=False.
WARNING:pyomo.opt:Failed to create solver with name 'cbc':
Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "_cbc_shell"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "set_problem_format").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: _cbc_shell
_args: ()
options: {}
ERROR:lengor.platform.solver.core.model_runner.svcs.model_runner_service:E-MRS-0005. Solver execution error. Model id: {47580da9-17c3-46f7-a884-82a90f788191}.
Traceback (most recent call last):
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 79, in _log_exception
yield
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/lengor/platform/solver/core/model_runner/svcs/model_runner_service.py", line 191, in _model_workflow
solver_results = opt.solve(
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 108, in solve
self._solver_error('solve')
File "/Users/joynal/code/lengor/lengor-platform/plz-out/tmp/lengor/models/farm_model/features/broiler_feeds_feature._test/run_1/pex_19cgyiji/pex-bt6AlSUscHPgx3gMybaaL4eWiro/third_party/python/pyomo/opt/base/solvers.py", line 125, in _solver_error
raise RuntimeError("""Attempting to use an unavailable solver.
RuntimeError: Attempting to use an unavailable solver.
The SolverFactory was unable to create the solver "cbc"
and returned an UnknownSolver object. This error is raised at the point
where the UnknownSolver object was used as if it were valid (by calling
method "solve").
The original solver was created with the following parameters:
executable: ../coin-or/bin/cbc
type: cbc
_args: ()
options: {}
Failing scenarios:
lengor/models/farm_model/features/broiler_feeds.feature:5 starter only orders
lengor/models/farm_model/features/broiler_feeds.feature:17 grower only orders
lengor/models/farm_model/features/broiler_feeds.feature:29 finisher only orders
lengor/models/farm_model/features/broiler_feeds.feature:41 starter+grower orders
lengor/models/farm_model/features/broiler_feeds.feature:53 grower+finisher orders
lengor/models/farm_model/features/broiler_feeds.feature:65 starter+grower+finisher orders
0 features passed, 1 failed, 0 skipped
0 scenarios passed, 6 failed, 0 skipped
12 steps passed, 6 failed, 0 skipped, 0 undefined
Took 0m3.969s
//lengor/models/farm_model/features:broiler_feeds_feature 7 tests run in 16.772s; 0 passed, 1 errored, 6 failed
starter only orders FAIL 0s
grower only orders FAIL 0s
finisher only orders FAIL 0s
starter+grower orders FAIL 0s
grower+finisher orders FAIL 0s
starter+grower+finisher orders FAIL 0s
broiler_feeds_feature ERROR
1 test target and 7 tests run; 0 passed, 1 errored, 6 failed.
Total time: 16.97s real, 16.77s compute.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment