|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ojalgo.optimisation.GenericSolver.Matrices<M>
public abstract static class GenericSolver.Matrices<M extends GenericSolver.Matrices<M>>
Method Summary | |
---|---|
M |
balance()
Will rescale problem parameters to minimise rounding and representation errors. |
int |
countEqualityConstraints()
|
int |
countInequalityConstraints()
|
int |
countVariables()
|
M |
eliminate()
Deprecated. Doesn't work! |
M |
equalities(MatrixStore<Double> AE,
MatrixStore<Double> BE)
|
MatrixStore<Double> |
getAE()
[AE][X] == [BE] |
MatrixStore<Double> |
getAE(int... aColSelector)
[AE][X] == [BE] |
MatrixStore<Double> |
getAI()
[AI][X] <= [BI] |
MatrixStore<Double> |
getAI(int... aColSelector)
[AI][X] <= [BI] |
MatrixStore<Double> |
getBE()
[AE][X] == [BE] |
MatrixStore<Double> |
getBI()
[AI][X] <= [BI] |
MatrixStore<Double> |
getC()
Linear objective: [C] |
MatrixStore<Double> |
getC(int... aRowSelector)
Linear objective: [C] |
MatrixStore<Double> |
getLE()
Lagrange multipliers / dual variables for Equalities |
MatrixStore<Double> |
getLI()
Lagrange multipliers / dual variables for Inequalities |
MatrixStore<Double> |
getLI(int[] aRowSelector)
Lagrange multipliers / dual variables for selected inequalities |
MatrixStore<Double> |
getQ()
Quadratic objective: [Q] |
PhysicalStore<Double> |
getSE()
Slack for Equalities: [SE] = [BE] - [AE][X] |
PhysicalStore<Double> |
getSI()
Slack for Inequalities: [SI] = [BI] - [AI][X] |
MatrixStore<Double> |
getSI(int... aRowSelector)
Selected Slack for Inequalities |
MatrixStore<Double> |
getX()
Solution / Variables: [X] |
boolean |
hasEqualityConstraints()
|
boolean |
hasInequalityConstraints()
|
boolean |
hasObjective()
|
M |
inequalities(MatrixStore<Double> AI,
MatrixStore<Double> BI)
|
M |
objective(MatrixStore<Double> C)
|
M |
objective(MatrixStore<Double> Q,
MatrixStore<Double> C)
|
M |
round(int aScale)
Will round to the specified scale (number of decimals) on all matrices. |
void |
setLE(MatrixStore<Double> aMtrx)
|
void |
setLI(MatrixStore<Double> aMtrx)
|
void |
setX(MatrixStore<Double> aMtrx)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public final M balance()
public final int countEqualityConstraints()
public final int countInequalityConstraints()
public final int countVariables()
@Deprecated public final M eliminate()
public final M equalities(MatrixStore<Double> AE, MatrixStore<Double> BE)
public final MatrixStore<Double> getAE()
public final MatrixStore<Double> getAE(int... aColSelector)
public final MatrixStore<Double> getAI()
public final MatrixStore<Double> getAI(int... aColSelector)
public final MatrixStore<Double> getBE()
public final MatrixStore<Double> getBI()
public final MatrixStore<Double> getC()
public final MatrixStore<Double> getC(int... aRowSelector)
public final MatrixStore<Double> getLE()
public final MatrixStore<Double> getLI()
public final MatrixStore<Double> getLI(int[] aRowSelector)
public final MatrixStore<Double> getQ()
public final PhysicalStore<Double> getSE()
public final PhysicalStore<Double> getSI()
public final MatrixStore<Double> getSI(int... aRowSelector)
public final MatrixStore<Double> getX()
public final boolean hasEqualityConstraints()
public final boolean hasInequalityConstraints()
public final boolean hasObjective()
public final M inequalities(MatrixStore<Double> AI, MatrixStore<Double> BI)
public final M objective(MatrixStore<Double> C)
public final M objective(MatrixStore<Double> Q, MatrixStore<Double> C)
public final M round(int aScale)
public final void setLE(MatrixStore<Double> aMtrx)
public final void setLI(MatrixStore<Double> aMtrx)
public final void setX(MatrixStore<Double> aMtrx)
public final String toString()
toString
in class Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |