Skip to content

Commit 74a52e5

Browse files
slilonfe5jsiirola
andauthored
Update pyomo/contrib/parmest/parmest.py
Co-authored-by: John Siirola <jsiirola@users.noreply.github.com>
1 parent 437bcb2 commit 74a52e5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pyomo/contrib/parmest/parmest.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -679,8 +679,7 @@ def _kaug_FIM(experiment, obj_function, theta_vals, solver, tee, estimated_var=N
679679
model.objective = pyo.Objective(expr=obj_function, sense=pyo.minimize)
680680

681681
# fix the parameter values to the estimated values
682-
params = [k for k, v in model.unknown_parameters.items()]
683-
for param in params:
682+
for param in model.unknown_parameters:
684683
param.fix(theta_vals[param.name])
685684

686685
solver = pyo.SolverFactory(solver)

0 commit comments

Comments
 (0)