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

Update Main.java

parent 5965942f
Branches master
No related tags found
No related merge requests found
......@@ -53,8 +53,7 @@ public class Main {
default -> System.err.println("Une erreur a été détectée lors de la saisie du débogage");
}
// Calcule du temps d'exécution et création de l'équation
long start = System.nanoTime();
//création de l'équation
Scanner sc = new Scanner(f);
String[] elements;
int sousCondition = nbSc(sc), line = 0;
......@@ -87,6 +86,8 @@ public class Main {
// Print
if (debugging) eq.printEq();
// Début du calcul du temps d'exécution
long start = System.nanoTime();
// Tableau initial
Simplex spx = new Simplex(eq.getMat().getLine(), eq.getMat().getLine() + eq.getMat().getCol() + 1,
line, contraintes, debugging);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment