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()
LPProblem
public ImmutableMatrix A()
LPProblem
public ImmutableVector b()
LPProblem
public ImmutableMatrix Aeq()
LPProblem
public ImmutableVector beq()
LPProblem
public boolean isFree(int i)
LPProblem
public LessThanConstraints getLessThanConstraints()
ConstrainedOptimProblem
getLessThanConstraints
in interface ConstrainedOptimProblem
public EqualityConstraints getEqualityConstraints()
ConstrainedOptimProblem
getEqualityConstraints
in interface ConstrainedOptimProblem
public int dimension()
OptimProblem
dimension
in interface OptimProblem
public RealScalarFunction f()
OptimProblem
f
in interface OptimProblem
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.