Skip to content

Commit

Permalink
Add cost func to options output in log (#1249)
Browse files Browse the repository at this point in the history
Co-authored-by: Jessica Farmer <79837359+jess-farmer@users.noreply.github.com>
  • Loading branch information
AndrewLister-STFC and jess-farmer committed May 7, 2024
1 parent 76eb8d7 commit 8ebf3ac
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions fitbenchmarking/utils/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -583,13 +583,16 @@ def list_to_string(mylist):

config['MINIMIZERS'] = {k: list_to_string(m)
for k, m in self.minimizers.items()}
config['FITTING'] = {'num_runs': self.num_runs,
'algorithm_type': list_to_string(
self.algorithm_type),
'software': list_to_string(self.software),
'jac_method': list_to_string(self.jac_method),
'hes_method': list_to_string(self.hes_method),
'max_runtime': self.max_runtime}
config['FITTING'] = {
'num_runs': self.num_runs,
'algorithm_type': list_to_string(
self.algorithm_type),
'software': list_to_string(self.software),
'jac_method': list_to_string(self.jac_method),
'hes_method': list_to_string(self.hes_method),
'max_runtime': self.max_runtime,
'cost_func_type': list_to_string(self.cost_func_type),
}
config['JACOBIAN'] = {k: list_to_string(m)
for k, m in self.jac_num_method.items()}
config['HESSIAN'] = {k: list_to_string(m)
Expand Down

0 comments on commit 8ebf3ac

Please sign in to comment.