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

Allow solver to be supplied by clients instead of hard-coding it from IDAES or WaterTAP #3

Open
lbianchi-lbl opened this issue May 2, 2024 · 0 comments
Assignees

Comments

@lbianchi-lbl
Copy link
Contributor

From the Apr 29 working session meeting notes (paraphrased):

  • Solver should be passed as argument to (FIXME: which function/class?) by clients
  • Possible "80/20" solution to provide good flexibility without too many headaches on our side: supporting HasSolveMethod | str | Callable[[], SolverFactory]
    • has .solve() method: use directly
    • str: call SolverFactory
    • callable: call it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants