-
The `pyomo.core.base.misc.apply_indexed_rule()` function includes some code which is wrapped in `try/catch` clauses to catch `TypeError` exceptions. If my own rule code accidentally generates a `TypeE…
-
I am trying to use `ipopt_l1` but I'm unable to make it use the options I pass to it. I'm doing something like this:
```
from pyomo.common.config import ConfigBlock
import idaes
from idaes.core.…
-
(split out from #31962)
We add `cvxpy` for disciplined convex programming and extensions as an optional package.
- cvxpy ([home](https://www.cvxpy.org/) · [repo](https://github.com/cvxpy/cvx…
-
- The new problem writer is enabled globally by adding this snippet:
```py
from pyomo.opt import WriterFactory
WriterFactory.register('nl')(WriterFactory.get_class('nl_v2'))
```
-
## Summary
When using Pyomo's intrinsic log10 function within a constraint, this works well. However, if the resulting model were to be solved with BARON solver, the log10 function is automatically…
-
From a comment in #620:
@dangunter:
> There are lots of magic string constants like "mw". imho, most of these should be defined as constants. I tend to create a class (e.g., > Constants) and defin…
-
Hi guys.
First of all, I'd like to thank you for the framework from my side it's brilliant.
I've faced with a problem that occurres when I use solve method with 'cplex' solver.
It creates temp…
-
When i try to optimize my model, I get the following error:
```
File "/home/raffael/development/relaxer/relaxer/optimization/augmecon.py", line 96, in optimize_relaxation
A.solve()
File "/…
-
with pyomo version 6.4.3 this line
https://github.com/PyPSA/PyPSA/blob/f5174789442c61aa6fe8f7882b53afb63a6ecee1/pypsa/opt.py#L31
leads to this ImportError
ImportError: cannot import name 'inequalit…
-
**Completely fill out the following template.**
- [x ] I have read the OSMnx [contributing guidelines](../blob/main/CONTRIBUTING.md)
- [ x] I have read the OSMnx [documentation](https://osmnx.…