Skip to content

Commit 6c4b7b1

Browse files
remove changes to legacy appsi_highs
1 parent b289dac commit 6c4b7b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: pyomo/contrib/appsi/solvers/highs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ def _set_objective(self, obj):
616616
)
617617

618618
repn = generate_standard_repn(
619-
obj.expr, quadratic=True, compute_values=False
619+
obj.expr, quadratic=False, compute_values=False
620620
)
621621
if repn.nonlinear_expr is not None:
622622
raise DegreeError(

0 commit comments

Comments
 (0)