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

global search and replace pyomo.core.expr.current -> pyomo.core.expr (ref pyomo PR #2910) #1234

Merged
merged 2 commits into from
Jul 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion idaes/apps/uncertainty_propagation/sens.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
check_optimal_termination,
)
from pyomo.common.sorting import sorted_robust
from pyomo.core.expr.current import ExpressionReplacementVisitor
from pyomo.core.expr import ExpressionReplacementVisitor

from pyomo.common.modeling import unique_component_name
from pyomo.opt import SolverFactory, SolverStatus
Expand Down
2 changes: 1 addition & 1 deletion idaes/core/util/model_statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

from pyomo.environ import Block, Constraint, Expression, Objective, Var, value
from pyomo.dae import DerivativeVar
from pyomo.core.expr.current import identify_variables
from pyomo.core.expr import identify_variables
from pyomo.common.collections import ComponentSet


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from pyomo.core.base.constraint import Constraint
from pyomo.core.base.expression import Expression
from pyomo.core.base.param import Param
from pyomo.core.expr.current import sqrt
from pyomo.core.expr import sqrt

# Import IDAES cores
from idaes.core import (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
from pyomo.core.base.units_container import units as pyunits
from pyomo.core.base.reference import Reference
from pyomo.dae.diffvar import DerivativeVar
from pyomo.core.expr.current import log10
from pyomo.core.expr import log10
from pyomo.core.expr.numvalue import value as pyo_value

from idaes.core import (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# Import Pyomo libraries
from pyomo.common.config import ConfigBlock, ConfigValue, In, Bool
from pyomo.environ import value, Var, Param, asin, cos, Reference
from pyomo.core.expr.current import Expr_if
from pyomo.core.expr import Expr_if
from pyomo.dae import DerivativeVar

# Import IDAES cores
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
)
from pyomo.dae import DerivativeVar
from pyomo.common.config import ConfigBlock, ConfigValue, In, Bool
from pyomo.core.expr.current import Expr_if
from pyomo.core.expr import Expr_if

# Import IDAES cores
from idaes.core import (
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def __getitem__(self, key):
# Put abstract (non-versioned) deps here.
# Concrete dependencies go in requirements[-dev].txt
install_requires=[
"pyomo>=6.6.1",
"pyomo @ https://github.com/IDAES/pyomo/archive/6.6.2.idaes.2023.07.28.zip",
"pint", # required to use Pyomo units
"networkx", # required to use Pyomo network
"numpy",
Expand Down
Loading