Account for Params
participating in Var
bounds in contrib.parmest.utils.convert_params_to_vars
#3375
Labels
Params
participating in Var
bounds in contrib.parmest.utils.convert_params_to_vars
#3375
Summary
The method
convert_params_to_vars(model, param_names, fix_vars)
ofcontrib.parmest.utils
does not seem to properly address cases where aVar
bound is a mutable expression involving one or more of theParam
objects specified throughparam_names
Steps to reproduce the issue
Var
having a bound dependent on at least oneParam
.convert_params_to_vars
:v
further. Notice that the upper bound is aParam
object namedq
that is neitherm.q
normdl.q
and does not live on the modelmdl
returned byconvert_params_to_vars
:Information on your system
Pyomo version: 6.8.1dev0 @ df51e99
Python version: 3.12.3
Operating system: Ubuntu 20.04
How Pyomo was installed (PyPI, conda, source): source
Solver (if applicable):
Additional information
The text was updated successfully, but these errors were encountered: