diff --git a/src/Simplex.java b/src/Simplex.java index 6add24167c37c980680b3e110d8a897a08bc24ed..0f539aef0b27ac08b2e51c1450a30b1bb04fb3e6 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;