0w1

Entries from 2016-09-23 to 1 day

Classic Linear Inequality ( O( 2 ^ ( N + M ) * ( M ^ 3 + M * N ) ) )

I have given up using Simplex Method.... Given an augmented matrix, where each row, say { a, b, c, .. z }, represents a * x1 + b * x2 + .. ≤ z, we will find the maximum value for some vector of coefficient for these variables. A brute forc…

Template Gauss Elimination

First it will retrieve a possible solution for the augmented matrix. Then if valid() returns false, there is no solution. If it is required to distinguish whether there are infinite solutions or not, do an extra work checking whether there…