John Siirola
John Siirola
It looks like there might be a workaround to avoid the function call: ```python @overload def __getitem__(self, index) -> _BlockData: ... __getitem__ = IndexedComponent.__getitem__ # type: ignore ```
We took a quick look at this during the Dev Call this week. Most of the test failures are do to a test that tracks the modules that are automatically...
Can you try wrapping with `capture_output()` (either by wrapping the call to `set_instance()`, or by putting it into that method)? I am thinking something like ```diff def set_instance(self, model): if...
> I only think we should hide the output after it is displayed at least once. Why would the APPSI interface be different from the Ipopt, Gurobi, Cplex, CBC interfaces?...
@michaelbynum, can you take a look at this?
Can you elaborate on what is preventing you from creating subclasses? There are numerous examples of subclassing Pyomo components (in particular subclassing `Block` - but all components follow a similar...
I think we should leave this open: at the very least, we need to better document the AML class hierarchy design, as well as tools like the `declare_custom_block` decorator (we...
My suspicion is that this is an issue with Windows stream buffering (as that is the only platform that we are seeing it on). Pyomo faces something similar when working...
Your first two examples have worked correctly since Pyomo 6.1 (Aug 2021). The last two examples mix the core AML and the Kernel library, which is not supported (so exceptions...
This is still an issue: NLv2 has improved handling of trivial constraints, but for backwards compatibility, `skip_trivial_constraints` still defaults to `False`. We should eventually move to defaulting it to `True`,...