Skip to content

Commit

Permalink
📚 Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ruaridhw committed May 11, 2020
1 parent e0ab4f6 commit 742d8bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyomo/solvers/plugins/solvers/cplex_direct.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __init__(
):
self.variables = variables
self.coefficients = coefficients
self.offset = offset or 0.
self.offset = offset or 0.0
self.q_variables1 = q_variables1 or []
self.q_variables2 = q_variables2 or []
self.q_coefficients = q_coefficients or []
Expand Down
1 change: 1 addition & 0 deletions pyomo/solvers/tests/checks/test_CPLEXDirect.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ def test_optimal_mip(self):
@unittest.skipIf(not cplexpy_available, "The 'cplex' python bindings are not available")
class TestIsFixedCallCount(unittest.TestCase):
""" Tests for PR#1402 (669e7b2b) """

def setup(self, skip_trivial_constraints):
m = ConcreteModel()
m.x = Var()
Expand Down

0 comments on commit 742d8bc

Please sign in to comment.