Module ojalgo

Class 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.Boolean myDualOrPrimal  
    • Constructor Summary

      Constructors 
      Constructor Description
      Configuration()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      LinearSolver.Configuration dual()
      Force use of the newer (mainly) dual simplex implementation.
      (package private) java.lang.Boolean getDualOrPrimal()
      TRUE for dual, FALSE for primal and null means "let the solver decide".
      LinearSolver.Configuration primal()
      Force use of ojAlgo's original (classic 2-phase primal) simplex implementation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • myDualOrPrimal

        private java.lang.Boolean myDualOrPrimal
    • Constructor Detail

      • Configuration

        public Configuration()
    • 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.
      • getDualOrPrimal

        java.lang.Boolean getDualOrPrimal()
        TRUE for dual, FALSE for primal and null means "let the solver decide".