From c38d5632c0284e485224412d9f05bbd0ef892f3c Mon Sep 17 00:00:00 2001 From: "juliano.souzaluz" <juliano.souza-luz@etu.hesge.ch> Date: Fri, 13 Jan 2023 13:25:34 +0100 Subject: [PATCH] Update Simplex.java --- src/Simplex.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Simplex.java b/src/Simplex.java index 6add241..0f539ae 100644 --- a/src/Simplex.java +++ b/src/Simplex.java @@ -113,6 +113,7 @@ public class Simplex { //newMat.matrixPrint("Nouvelle matrice ", 3); this.nbPivot = 0; pivot(newMat); + newMat.matrixPrint("Résultat", 3); } /*if (solutionOptimale <= EPSILON + 0 || solutionOptimale >= 0 - EPSILON) { // il faut s'assurer que la base ne contient aucune variable auxiliaire @@ -145,7 +146,7 @@ public class Simplex { } } } - //mat.matrixPrint("Pivot numéro " + this.nbPivot, 2); + mat.matrixPrint("Pivot numéro " + this.nbPivot, 2); for (int j = 0; j < mat.getY(); j++) if (signe(mat.getData(mat.getX() - 1, j))) { has_neg = true; -- GitLab