Skip to content

Commit 58462ae

Browse files
committed
Any color you like
1 parent c921571 commit 58462ae

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

pyomo/contrib/piecewise/piecewise_linear_function.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,8 @@ def _construct_simplices_from_multivariate_points(
336336
obj._triangulation = tri
337337
else:
338338
raise ValueError(
339-
"Invalid or unrecognized triangulation specified for '%s': %s" % (obj, tri)
339+
"Invalid or unrecognized triangulation specified for '%s': %s"
340+
% (obj, tri)
340341
)
341342

342343
# Get the points for the triangulation because they might not all be

pyomo/contrib/piecewise/transform/incremental.py

+1-7
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,7 @@
1313
PiecewiseLinearTransformationBase,
1414
)
1515
from pyomo.contrib.piecewise.triangulations import Triangulation
16-
from pyomo.core import (
17-
Constraint,
18-
Binary,
19-
Var,
20-
RangeSet,
21-
Param,
22-
)
16+
from pyomo.core import Constraint, Binary, Var, RangeSet, Param
2317
from pyomo.core.base import TransformationFactory
2418

2519

0 commit comments

Comments
 (0)