Skip to content

Commit

Permalink
Any color you like
Browse files Browse the repository at this point in the history
  • Loading branch information
sadavis1 committed Jul 25, 2024
1 parent c921571 commit 58462ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
3 changes: 2 additions & 1 deletion pyomo/contrib/piecewise/piecewise_linear_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,8 @@ def _construct_simplices_from_multivariate_points(
obj._triangulation = tri
else:
raise ValueError(
"Invalid or unrecognized triangulation specified for '%s': %s" % (obj, tri)
"Invalid or unrecognized triangulation specified for '%s': %s"
% (obj, tri)
)

# Get the points for the triangulation because they might not all be
Expand Down
8 changes: 1 addition & 7 deletions pyomo/contrib/piecewise/transform/incremental.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,7 @@
PiecewiseLinearTransformationBase,
)
from pyomo.contrib.piecewise.triangulations import Triangulation
from pyomo.core import (
Constraint,
Binary,
Var,
RangeSet,
Param,
)
from pyomo.core import Constraint, Binary, Var, RangeSet, Param
from pyomo.core.base import TransformationFactory


Expand Down

0 comments on commit 58462ae

Please sign in to comment.