public class CanonicalLPProblem2 extends LPProblemImpl1
min c'xs.t.
b ≥ 0 if the problem is feasibleA * x ≤ b, x ≥ 0
| Constructor and Description |
|---|
CanonicalLPProblem2(CanonicalLPProblem1 problem)
Convert a linear programming problem from the 1st canonical form to the 2nd canonical form.
|
CanonicalLPProblem2(Vector cost,
LinearLessThanConstraints less)
Construct a linear programming problem in the canonical form.
|
CanonicalLPProblem2(Vector c,
Matrix A,
Vector b)
Construct a linear programming problem in the canonical form.
|
A, Aeq, b, beq, c, dimension, f, getEqualityConstraints, getLessThanConstraints, isFree, nEqualities, nGreaterThanInequalities, toStringpublic CanonicalLPProblem2(Vector c, Matrix A, Vector b)
c - c'x is the linear objective function to be minimizedA - the less-than inequality constraints A * x ≤ bb - the less-than inequality values A * x ≤ bpublic CanonicalLPProblem2(Vector cost, LinearLessThanConstraints less)
cost - the objective functionless - a collection of less-than-or-equal-to constraintspublic CanonicalLPProblem2(CanonicalLPProblem1 problem)
problem - a linear programming problem in the 1st canonical form