Skip to content

Commit

Permalink
Removed left over code from model_utils.
Browse files Browse the repository at this point in the history
  • Loading branch information
smartin71 committed Aug 13, 2024
1 parent efa6465 commit 7ea02db
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pyomo/contrib/parmest/utils/model_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,6 @@ def convert_params_to_vars(model, param_CUIDs=None, fix_vars=False):
ComponentUID(param) for param in model.component_data_objects(pyo.Param)
]

# if param_CUIDs is None:
# param_CUIDs = [
# ComponentUID(param.name)
# for param in model.component_data_objects(pyo.Param)
# ]

# keep a list of the parameter CUIDs in the case of indexing
indexed_param_CUIDs = []

Expand Down

0 comments on commit 7ea02db

Please sign in to comment.