Package org.ojalgo.optimisation.linear
Class SimplexSolver.EnterInfo
- java.lang.Object
-
- org.ojalgo.optimisation.linear.SimplexSolver.EnterInfo
-
- Enclosing class:
- SimplexSolver
static final class SimplexSolver.EnterInfo extends java.lang.Object
Enter toSimplexStore.ColumnState.BASIS
from eitherSimplexStore.ColumnState.LOWER
,SimplexStore.ColumnState.UPPER
, orSimplexStore.ColumnState.UNBOUNDED
.In case of a bound-switch nothing enters the basis. In such case this type declares "the switch" rather than the enter-part of a normal basis-update.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) SimplexSolver.Direction
direction
The variable (indicated byindex
) that will enter the basis, will either increase or decrease when entering.(package private) SimplexStore.ColumnState
from
(package private) int
index
private int[]
myExcluded
-
Constructor Summary
Constructors Constructor Description EnterInfo(int[] excluded)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) int
column()
(package private) void
column(int column)
boolean
equals(java.lang.Object obj)
int
hashCode()
(package private) int
indexOf(int column)
(package private) void
reset()
java.lang.String
toString()
-
-
-
Field Detail
-
myExcluded
private final int[] myExcluded
-
direction
SimplexSolver.Direction direction
The variable (indicated byindex
) that will enter the basis, will either increase or decrease when entering.
-
from
SimplexStore.ColumnState from
-
index
int index
-
-
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()
-
column
void column(int column)
-
indexOf
int indexOf(int column)
-
reset
void reset()
-
-