Skip to content

Commit

Permalink
Remove obsolete fmincon default settings from HDF5 input files
Browse files Browse the repository at this point in the history
  • Loading branch information
dweindl committed Sep 12, 2022
1 parent 0481b4c commit e2c1b00
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions python/parpe/hdf5_pe_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -1082,16 +1082,6 @@ def write_optimization_options(f: h5py.File) -> None:
g.attrs["acceptable_obj_change_tol"] = 1e-12
g.attrs["watchdog_shortened_iter_trigger"] = 0

# set fmincon options
g = f.require_group('optimizationOptions/fmincon')
g.attrs['MaxIter'] = 100
g.attrs["TolX"] = 1e-8
g.attrs["TolFun"] = 0
g.attrs["MaxFunEvals"] = 1e7
g.attrs["algorithm"] = np.string_("interior-point")
g.attrs["GradObj"] = np.string_("on")
g.attrs["display"] = np.string_("iter")

# set CERES options
g = f.require_group('optimizationOptions/ceres')
g.attrs['max_num_iterations'] = 100
Expand Down

0 comments on commit e2c1b00

Please sign in to comment.