public class NaiveRule extends Object implements SimplexPivoting
SimplexPivoting.Pivot| Constructor and Description |
|---|
NaiveRule() |
| Modifier and Type | Method and Description |
|---|---|
SimplexPivoting.Pivot |
getPivot(SimplexTable table)
Get the next pivot.
|
int |
pricing(SimplexTable table)
This is pivot column selection (pricing) rule.
|
int |
ratioTest(SimplexTable table,
int s)
This is pivot row selection (Ratio test) rule.
|
public int pricing(SimplexTable table)
pricing in interface SimplexPivotingtable - a simplex tablepublic int ratioTest(SimplexTable table, int s)
ratioTest in interface SimplexPivotingtable - a simplex tables - a columnpublic SimplexPivoting.Pivot getPivot(SimplexTable table) throws LPUnbounded
SimplexPivotinggetPivot in interface SimplexPivotingtable - a simplex tablenull if the table already optimalLPUnbounded - if the table is unboundedCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.