All Packages Class Hierarchy This Package Previous Next Index
Class juice.solver.SimplexSolverTest
java.lang.Object
|
+----juice.solver.SimplexSolverTest
- public final class SimplexSolverTest
- extends Object
-
SimplexSolverTest()
-
-
main(String[])
- I solve here b = L x for x (b, L are known).
SimplexSolverTest
public SimplexSolverTest()
main
public static void main(String args[])
- I solve here b = L x for x (b, L are known).
I create the "true answer" m by filling it with random numbers.
This is probably not necessary, but
to ensure that L is positive definite I construct it as
L = (A'A) where A is filled with random numbers.
Next I set 0 = F(x) = |L x - b|^2 which creates the functional F(x).
Finally, I solve F(x) = 0 for x. I expect the solution to be x = m.
As an initial guess I use x = 0.
All Packages Class Hierarchy This Package Previous Next Index