Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added cost func to the list of options displayed in log file #1249

Merged
merged 6 commits into from
May 7, 2024
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