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

Provide user with a link on solve failure #71

Open
MichaelPesce opened this issue Sep 23, 2022 · 5 comments
Open

Provide user with a link on solve failure #71

MichaelPesce opened this issue Sep 23, 2022 · 5 comments
Assignees
Labels
Priority:Normal Normal Priority Issue or PR

Comments

@MichaelPesce
Copy link
Collaborator

if a solve fails, provide user with a link that leads them to a page showing reasons why the solve might have failed

@MichaelPesce MichaelPesce self-assigned this Sep 23, 2022
@ksbeattie ksbeattie added the Priority:Normal Normal Priority Issue or PR label Oct 6, 2022
@ksbeattie
Copy link
Contributor

@MichaelPesce any update on this?

@adam-a-a
Copy link

adam-a-a commented Mar 9, 2023

This is in line with IDAES' future effort to improve model diagnostics and UI related functionality to facilitate ease-of-use, which could be incorporated across IDAES-dependent platforms later on. Something for us to keep in mind.

@adam-a-a
Copy link

adam-a-a commented Mar 9, 2023

@andrewlee94 @dangunter would also know more about this effort once it evolves.

@adam-a-a
Copy link

We also noted that you could start with displaying the IPOPT output that shows the iterations and error message, which isn't always too helpful, but it'd be a start (not sure if you have this already @MichaelPesce ).

@MichaelPesce
Copy link
Collaborator Author

@adam-a-a
The error we display when a solve fails is:
"The solver failed to converge to an optimal solution. This suggests that the user provided infeasible inputs or that the model is poorly scaled, poorly initialized, or degenerate."

This appears to be generated in watertap/core/util/initialization.py when the check_optimal_termination() function is called during a solve.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:Normal Normal Priority Issue or PR
Projects
None yet
Development

No branches or pull requests

3 participants