Skip to content
Snippets Groups Projects
Commit c38d5632 authored by juliano.souzaluz's avatar juliano.souzaluz
Browse files

Update Simplex.java

parent f09a3149
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment