pyoptsparse icon indicating copy to clipboard operation
pyoptsparse copied to clipboard

New option for hotstart to re-evaluate function if the fail flag is set to True

Open ewu63 opened this issue 5 years ago • 1 comments

Type of issue

What types of issue is it? Select the appropriate type(s) that describe this issue

  • New feature (non-breaking change which adds functionality)

Description

We should add a new option for the hotstart, to better handle failed evaluations.

Current behavior

During hotstart, if any evaluations failed, the same fail flag will be passed to the optimizer, creating a consistent hotstart "replay".

Expected behavior

Add a new option, so that at the first instance of a failed evaluation, an actual evaluation is done. This would be useful if the user has adjusted some solver settings, in order to prevent the original failure. This would of course break the hotstart and any evaluations after that would be actual evaluations not from the history file. So ideally, this would be useful if the only failure happened near the end of the optimization. Eventually, we may want to provide more granular controls over exactly which fail flag we want to re-evaluate during the hotstart, via callCounter indexing.

ewu63 avatar Jun 04 '20 03:06 ewu63

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

stale[bot] avatar Mar 20 '21 13:03 stale[bot]