Deprecated
As of 3.1 (to be removed in 4.0).
| Modifier and Type | Field and Description |
|---|---|
| private static final double | DEFAULT_EPSILON
Default amount of error to accept for algorithm convergence. |
| private static final int | DEFAULT_ULPS
Default amount of error to accept in floating point comparisons (as ulps). |
| private final double | epsilon
Amount of error to accept for algorithm convergence. |
| private final int | maxUlps
Amount of error to accept in floating point comparisons (as ulps). |
| Access | Constructor and Description |
|---|---|
| public | |
| public | SimplexSolver(final double
the amount of error to accept for algorithm convergence epsilon, final int amount of error to accept in floating point comparisons maxUlps)Build a simplex solver with a specified accepted amount of error |
| Modifier and Type | Method and Description |
|---|---|
| protected void | doIteration(final SimplexTableau
simple tableau for the problem tableau)
Deprecated
as a consequence of
SimplexTableau being deprecated.
Runs one iteration of the Simplex method on the given model. |
| public PointValuePair | doOptimize()
Implements abstract org.
Deprecated
as a consequence of
PointValuePair being deprecated.
Perform the bulk of optimization algorithm. |
| private Integer | Returns: column with the most negative coefficientsimple tableau for the problem tableau)
Deprecated
as a consequence of
SimplexTableau being deprecated.
Returns the column with the most negative coefficient in the objective function row. |
| private Integer | Returns: row with the minimum ratiosimple tableau for the problem tableau, final int the column to test the ratio of. See col)getPivotColumn(SimplexTableau)
Deprecated
as a consequence of
SimplexTableau being deprecated.
Returns the row with the minimum ratio as given by the minimum ratio test (MRT). |
| protected void | solvePhase1(final SimplexTableau
simple tableau for the problem tableau)
Deprecated
as a consequence of
SimplexTableau being deprecated.
Solves Phase 1 of the Simplex method. |
| DEFAULT_EPSILON | back to summary |
|---|---|
| private static final double DEFAULT_EPSILON Default amount of error to accept for algorithm convergence. | |
| DEFAULT_ULPS | back to summary |
|---|---|
| private static final int DEFAULT_ULPS Default amount of error to accept in floating point comparisons (as ulps). | |
| epsilon | back to summary |
|---|---|
| private final double epsilon Amount of error to accept for algorithm convergence. | |
| maxUlps | back to summary |
|---|---|
| private final int maxUlps Amount of error to accept in floating point comparisons (as ulps). | |
| SimplexSolver | back to summary |
|---|---|
| public SimplexSolver() Build a simplex solver with default settings. | |
| SimplexSolver | back to summary |
|---|---|
| public SimplexSolver(final double epsilon, final int maxUlps) Build a simplex solver with a specified accepted amount of error
| |
| doIteration | back to summary |
|---|---|
| protected void doIteration(final SimplexTableau tableau) throws MaxCountExceededException, UnboundedSolutionException
Deprecated as a consequence of Runs one iteration of the Simplex method on the given model.
| |
| doOptimize | back to summary |
|---|---|
| public PointValuePair doOptimize() throws MaxCountExceededException, UnboundedSolutionException, NoFeasibleSolutionException Implements abstract org. Doc from org. Deprecated as a consequence of Perform the bulk of optimization algorithm.
| |
| getPivotColumn | back to summary |
|---|---|
| private Integer getPivotColumn(SimplexTableau tableau)
Deprecated as a consequence of Returns the column with the most negative coefficient in the objective function row.
| |
| getPivotRow | back to summary |
|---|---|
| private Integer getPivotRow(SimplexTableau tableau, final int col)
Deprecated as a consequence of Returns the row with the minimum ratio as given by the minimum ratio test (MRT).
| |
| solvePhase1 | back to summary |
|---|---|
| protected void solvePhase1(final SimplexTableau tableau) throws MaxCountExceededException, UnboundedSolutionException, NoFeasibleSolutionException
Deprecated as a consequence of Solves Phase 1 of the Simplex method.
| |