Skip to content

Commit

Permalink
deactivate ipopt warmstart
Browse files Browse the repository at this point in the history
  • Loading branch information
Zedong Peng committed Oct 29, 2023
1 parent 2fe8e24 commit fe844a5
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions pyomo/contrib/mindtpy/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -602,15 +602,16 @@ def set_solver_constraint_violation_tolerance(opt, solver_name, config, warm_sta
'constr_viol_tol ' + str(config.zero_tolerance)
)
if warm_start:
pass
# Ipopt warmstart options
opt.options['add_options'].append(
'warm_start_init_point yes\n'
'warm_start_bound_push 1e-9\n'
'warm_start_bound_frac 1e-9\n'
'warm_start_slack_bound_frac 1e-9\n'
'warm_start_slack_bound_push 1e-9\n'
'warm_start_mult_bound_push 1e-9\n'
)
# opt.options['add_options'].append(
# 'warm_start_init_point yes\n'
# 'warm_start_bound_push 1e-9\n'
# 'warm_start_bound_frac 1e-9\n'
# 'warm_start_slack_bound_frac 1e-9\n'
# 'warm_start_slack_bound_push 1e-9\n'
# 'warm_start_mult_bound_push 1e-9\n'
# )
elif config.nlp_solver_args['solver'] == 'conopt':
opt.options['add_options'].append(
'RTNWMA ' + str(config.zero_tolerance)
Expand Down

0 comments on commit fe844a5

Please sign in to comment.