Package com.imsl.test.example.math
Class SparseLPEx1
java.lang.Object
com.imsl.test.example.math.SparseLPEx1
Solves a linear programming problem with sparse representation.
$$\min{f(x) = 2x_1 - 8x_2 + 3x_3}$$subject to
$$\begin{array}{rlr} 2x_2 + 3x_3 \leq 6 \\ x_1 + x_2 + x_3 \geq 2 \\ -1 \leq x_1 \leq 5 \\ 0 \leq x_2 \leq 7 \\ 0 \leq x_3 \leq 9 \end{array}$$is solved.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SparseLPEx1
public SparseLPEx1()
-
-
Method Details
-
main
- Throws:
Exception
-