Skip to content

Enable (a subset of) test suite to run without IDAES extensions #6

@lbianchi-lbl

Description

@lbianchi-lbl

⚠️ This is just a naive thought for the sake of discussion, and might not be worth the effort (or be feasible at all) ⚠️

  • Currently, our use of get_solver() from WaterTAP means that idaes get-extensions needs to be run before being able to access a suitable solver for running the tests. This causes idaes-pse (which is a requirement for running idaes get-extensions) to be a required dependency for testing
  • Following Allow solver to be supplied by clients instead of hard-coding it from IDAES or WaterTAP #3, this need might be relaxed, potentially opening the possibility of running the tests without having to rely on IDAES extensions
  • e.g. if the sample models used are solvable without the IDAES Ipopt, then we could use the ipopt from an alternative source such as Conda, which would remove the idaes-pse requirement for running the tests (or at least those tests that are pure Pyomo, as opposed to e.g. more integration-type tests using WaterTAP flowsheets)

Questions

  • Is this feasible, considering the models being used for (non-WaterTAP) tests in our test suite?
  • Is this worth considering? i.e. would it be helpful to ensure our tests can be run with non-IDAES Ipopt implementations, e.g. facilitating an eventual pyomo.contrib inclusion?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions