From ad4d31b5aa3e9ecb78280cc54dd90fbc28b337ae Mon Sep 17 00:00:00 2001 From: jarchambault Date: Fri, 13 Dec 2024 13:30:35 +0100 Subject: [PATCH] Delete useless equationId Signed-off-by: jarchambault --- .../knitro/solver/NonLinearExternalSolverUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/powsybl/openloadflow/knitro/solver/NonLinearExternalSolverUtils.java b/src/main/java/com/powsybl/openloadflow/knitro/solver/NonLinearExternalSolverUtils.java index 868996c..dcf8392 100644 --- a/src/main/java/com/powsybl/openloadflow/knitro/solver/NonLinearExternalSolverUtils.java +++ b/src/main/java/com/powsybl/openloadflow/knitro/solver/NonLinearExternalSolverUtils.java @@ -43,7 +43,7 @@ public static boolean isLinear(AcEquationType typeEq, List> terms) throws UnsupportedOperationException { + public VarAndCoefList getLinearConstraint(AcEquationType typeEq, List> terms) throws UnsupportedOperationException { VarAndCoefList varAndCoefList = null; // Check if the constraint is linear