- java.lang.Object
-
- org.ojalgo.optimisation.linear.LinearSolver.Configuration
-
- Enclosing class:
- LinearSolver
public static final class LinearSolver.Configuration extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.BooleanmyDualOrPrimal
-
Constructor Summary
Constructors Constructor Description Configuration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LinearSolver.Configurationdual()Force use of the newer (mainly) dual simplex implementation.(package private) java.lang.BooleangetDualOrPrimal()TRUE for dual, FALSE for primal and null means "let the solver decide".LinearSolver.Configurationprimal()Force use of ojAlgo's original (classic 2-phase primal) simplex implementation.
-
-
-
Method Detail
-
dual
public LinearSolver.Configuration dual()
Force use of the newer (mainly) dual simplex implementation. If you don't specify which to use, there is internal logic that switches implementation based on problem size.
-
primal
public LinearSolver.Configuration primal()
Force use of ojAlgo's original (classic 2-phase primal) simplex implementation.- See Also:
dual()
-
getDualOrPrimal
java.lang.Boolean getDualOrPrimal()
TRUE for dual, FALSE for primal and null means "let the solver decide".
-
-