-
Somehow find a compromise between the Map of flat Rationals and a Trie of rationals - the trie would be the embodiment of our tuple-based lexicographic ordering.
- Implement operations discussed in main.pdf
-
Prove that
- Pushes unrestricted equations to restricted, by the
err_x_+
,err_x_-
substitution - Checks new edit constraints, to see if their constant value can just be substituted
- takes coefficients from objective function during re-assignment? line 5-10 p. 18
blandRatioPrimal
(Rational b b
) andblandRatioDual
(b b b
) - primal is "constant divided by coefficient", and dual is "objective coefficient divided by coefficient".flatten
(b b b
andRational b Rational
) - magnify an equation's coefficients and constant.
FUNDEP CONFLICT: Rational b b
(weighted bland ratios) vs. Rational b Rational
(constant re-magnification)
substitute
(b b b
andRational b b
) - magnify an equation's coefficients and constant.
substitute
(b b b
andRational b Rational
) - remove ab
amount from an equation's coefficients and constant.
- Tableau coefficients may be polymorphic, while the objective function should be constrained to Rational
- There should be a class for Simplex and SimplexDual, which may change behavior based on the instance of the coefficient - weighted sets, for instance, require that we attempt one layer at a time.
-
HasName -
LinVarName
-
HasStringName -
String
-- lossy info for Error and Slack variables -
HasVariables -
LinVarMap
-
HasCoefficients -
b
-
HasConstant -
Rational
-
SimplexPrimal
nextBasicPrimal
nextRowPrimal
- implicit
blandRatioPrimal
- implicit
-
SimplexDual
nextRowDual
nextBasicDual
- implicit
blandRatioDual
- implicit