Package nl.tue.astar.util.ilp
Class LPMatrix.SPARSE
- java.lang.Object
-
- nl.tue.astar.util.ilp.LPMatrix.SPARSE
-
public static final class LPMatrix.SPARSE extends java.lang.ObjectStatic class wrapping SPARSE variants of LPMatrixThe 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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLPMatrix.SPARSE.GUROBIThe sparse variant for the Gurobi external solver.static classLPMatrix.SPARSE.LPSOLVE
-
Constructor Summary
Constructors Constructor Description SPARSE()
-