Ad cool matrix visualization

This commit is contained in:
emil
2024-10-03 03:05:32 +03:00
commit 2749b9dc0b
9 changed files with 831 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#ifndef SIMPLEX_H
#define SIMPLEX_H
#include <vector>
#include "tools/matrix.h"
enum solver_state {
unbounded,
bounded
};
struct Result {
solver_state state;
Vector *solution;
double objective_fucntion_value;
};
Result Simplex(Vector C, Matrix A, Vector b, double eps = 0.01, bool maximize = true);
#endif // SIMPLEX_H