---------------------------------------------- lines 5-40 of file: example/user/warm_start.py ---------------------------------------------- # {xrst_begin user_warm_start.py} # {xrst_spell # iter # num # stderr # } # {xrst_comment_ch #} # # Continuing a Fit Using Ipopt Warm Start # ####################################### # # Option Table # ************ # In the option table defined below, # *max_num_iter_fixed* = 5 . # This fit will terminate when # the maximum number of iterations is reached. # The corresponding warning is suppressed by setting # *warn_on_stderr* = ``false`` . # The second fit will start where the first left off. # To see this, set *print_level_fixed* = 5 (in the option table) and # :ref:`run this example` . # # Fixed Trace Table # ***************** # This example uses the :ref:`trace_fixed_table-name` # to check the number of iterations used. # # Source Code # *********** # {xrst_literal # BEGIN PYTHON # END PYTHON # } # # {xrst_end user_warm_start.py}