From d3541666d479bab4c6f89523602e7b2b9dddd0ac Mon Sep 17 00:00:00 2001 From: alpertoygar Date: Wed, 14 Aug 2024 09:11:42 -0400 Subject: [PATCH] Add missing main call for example file --- .../examples/reactor_design/parameter_estimation_example.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyomo/contrib/parmest/examples/reactor_design/parameter_estimation_example.py b/pyomo/contrib/parmest/examples/reactor_design/parameter_estimation_example.py index a84a3fde5e7..d29cbfd4d49 100644 --- a/pyomo/contrib/parmest/examples/reactor_design/parameter_estimation_example.py +++ b/pyomo/contrib/parmest/examples/reactor_design/parameter_estimation_example.py @@ -39,3 +39,7 @@ def main(): obj, theta, cov = pest.theta_est(calc_cov=True, cov_n=17) print(obj) print(theta) + + +if __name__ == "__main__": + main()