Skip to content

Commit

Permalink
global search and replace pyomo.core.expr.current -> pyomo.core.expr
Browse files Browse the repository at this point in the history
  • Loading branch information
strahl21 committed Jul 28, 2023
1 parent 52d7d5c commit f827ca6
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
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

0 comments on commit f827ca6

Please sign in to comment.