public static class LPRevisedSimplexSolver.Problem extends Object implements LPProblem
| Modifier and Type | Method and Description |
|---|---|
ImmutableMatrix |
A()
Get the coefficients, A, of the greater-than-or-equal-to constraints A * x ≥ b.
|
ImmutableMatrix |
Aeq()
Get the coefficients, Aeq, of the equality constraints Aeq * x ≥ beq.
|
ImmutableVector |
b()
Get the values, b, of the greater-than-or-equal-to constraints A * x ≥ b.
|
ImmutableVector |
beq()
Get the values, beq, of the equality constraints Aeq * x ≥ beq.
|
ImmutableVector |
c()
Get the objective function.
|
int |
dimension()
Get the number of variables.
|
RealScalarFunction |
f()
Get the objective function.
|
EqualityConstraints |
getEqualityConstraints()
Gets the equality constraints, hi(x) = 0
|
LessThanConstraints |
getLessThanConstraints()
Gets the less-than-or-equal-to constraints, gi(x) ≤
0
|
boolean |
isFree(int i)
Check whether xi is a free variable after handling the box constraints.
|
public ImmutableVector c()
LPProblempublic ImmutableMatrix A()
LPProblempublic ImmutableVector b()
LPProblempublic ImmutableMatrix Aeq()
LPProblempublic ImmutableVector beq()
LPProblempublic boolean isFree(int i)
LPProblempublic LessThanConstraints getLessThanConstraints()
ConstrainedOptimProblemgetLessThanConstraints in interface ConstrainedOptimProblempublic EqualityConstraints getEqualityConstraints()
ConstrainedOptimProblemgetEqualityConstraints in interface ConstrainedOptimProblempublic int dimension()
OptimProblemdimension in interface OptimProblempublic RealScalarFunction f()
OptimProblemf in interface OptimProblemCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.