Class LPMatrix.SPARSE

  • Enclosing interface:
    LPMatrix<S>

    public static final class LPMatrix.SPARSE
    extends java.lang.Object
    Static class wrapping SPARSE variants of LPMatrix The internal MIP matrix is represented by a hashmap from a pair of coordinates to a value. Setting a value in this matrix is O(log N), while reading a value is amortized O(1). When adjusting a value, the method adjustMat(r, c, v) is recommended over setMat(r,c, getMat(r,c) + v).
    • Constructor Summary

      Constructors 
      Constructor Description
      SPARSE()  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • SPARSE

        public SPARSE()