Skip to content

Commit

Permalink
Delete useless equationId
Browse files Browse the repository at this point in the history
Signed-off-by: jarchambault <[email protected]>
  • Loading branch information
jeanneArchambault committed Dec 13, 2024
1 parent d60cb87 commit ad4d31b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public static boolean isLinear(AcEquationType typeEq, List<EquationTerm<AcVariab
}

// Return lists of variables and coefficients to pass to Knitro for a linear constraint
public VarAndCoefList getLinearConstraint(AcEquationType typeEq, int equationId, List<EquationTerm<AcVariableType, AcEquationType>> terms) throws UnsupportedOperationException {
public VarAndCoefList getLinearConstraint(AcEquationType typeEq, List<EquationTerm<AcVariableType, AcEquationType>> terms) throws UnsupportedOperationException {
VarAndCoefList varAndCoefList = null;

// Check if the constraint is linear
Expand Down

0 comments on commit ad4d31b

Please sign in to comment.