Package org.ojalgo.optimisation.linear
Class SimplexSolver.ExitInfo
- java.lang.Object
-
- org.ojalgo.optimisation.linear.SimplexSolver.ExitInfo
-
- Enclosing class:
- SimplexSolver
static final class SimplexSolver.ExitInfo extends java.lang.Object
Exit fromSimplexStore.ColumnState.BASIS
to eitherSimplexStore.ColumnState.LOWER
orSimplexStore.ColumnState.UPPER
.In case of a bound-switch nothing leaves the basis, and this type bears no meaning.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) SimplexSolver.Direction
direction
The variable (indicated byindex
) that will exit the basis, will either increase or decrease when exiting.(package private) int
index
private int[]
myIncluded
(package private) SimplexStore.ColumnState
to
-
Constructor Summary
Constructors Constructor Description ExitInfo(int[] included)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) int
column()
boolean
equals(java.lang.Object obj)
int
hashCode()
(package private) int
indexOf(int column)
(package private) void
reset()
(package private) int
row()
java.lang.String
toString()
-
-
-
Field Detail
-
myIncluded
private final int[] myIncluded
-
direction
SimplexSolver.Direction direction
The variable (indicated byindex
) that will exit the basis, will either increase or decrease when exiting.
-
index
int index
-
to
SimplexStore.ColumnState to
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
column
int column()
-
indexOf
int indexOf(int column)
-
reset
void reset()
-
row
int row()
-
-